projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30d8e29
)
Fix a gcc 4.2 warning.
author
Chris Lattner
<sabre@nondot.org>
Wed, 15 Nov 2006 04:53:24 +0000
(
04:53
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 15 Nov 2006 04:53:24 +0000
(
04:53
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31751
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/InstructionCombining.cpp
b/lib/Transforms/Scalar/InstructionCombining.cpp
index 80a48605532177bd4fef9f44d73623cd12146d5d..968e6ad4e94dc922c769804bc86300ce76594b77 100644
(file)
--- 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