diff options
author | Chris Lattner <sabre@nondot.org> | 2006-11-15 04:53:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-11-15 04:53:24 +0000 |
commit | d23b5baf8afc5a2e2e05e9452e9865cba61d7107 (patch) | |
tree | 8e58f77224f655bd4c49219229f75e1f770266e3 /lib/Transforms | |
parent | 30d8e29db8f179b06f09d6e75df537fb928e700d (diff) | |
download | external_llvm-d23b5baf8afc5a2e2e05e9452e9865cba61d7107.zip external_llvm-d23b5baf8afc5a2e2e05e9452e9865cba61d7107.tar.gz external_llvm-d23b5baf8afc5a2e2e05e9452e9865cba61d7107.tar.bz2 |
Fix a gcc 4.2 warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31751 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Scalar/InstructionCombining.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 80a4860..968e6ad 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/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 &IC; 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 |