From e3a63d136d73d8e3daeebf619ccbaa62f7741e59 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 15 Nov 2006 04:53:24 +0000 Subject: [PATCH] Fix a gcc 4.2 warning. llvm-svn: 31751 --- llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index 80a486055321..968e6ad4e94d 100644 --- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp @@ -2760,6 +2760,7 @@ static Value *getSetCCValue(unsigned Opcode, Value *LHS, Value *RHS) { } // FoldSetCCLogical - Implements (setcc1 A, B) & (setcc2 A, B) --> (setcc3 A, B) +namespace { struct FoldSetCCLogical { InstCombiner ⁣ Value *LHS, *RHS; @@ -2795,6 +2796,7 @@ struct FoldSetCCLogical { return IC.ReplaceInstUsesWith(Log, RV); } }; +} // end anonymous namespace // OptAndOp - This handles expressions of the form ((val OP C1) & C2). Where // the Op parameter is 'OP', OpRHS is 'C1', and AndRHS is 'C2'. Op is