[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Chris Lattner
sabre at nondot.org
Tue Nov 14 20:53:38 PST 2006
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.544 -> 1.545
---
Log message:
Fix a gcc 4.2 warning.
---
Diffs of the changes: (+2 -0)
InstructionCombining.cpp | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.544 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.545
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.544 Tue Nov 14 01:46:50 2006
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Tue Nov 14 22:53:24 2006
@@ -2760,6 +2760,7 @@
}
// FoldSetCCLogical - Implements (setcc1 A, B) & (setcc2 A, B) --> (setcc3 A, B)
+namespace {
struct FoldSetCCLogical {
InstCombiner ⁣
Value *LHS, *RHS;
@@ -2795,6 +2796,7 @@
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
More information about the llvm-commits
mailing list