Fix a gcc 4.2 warning.

llvm-svn: 31751
This commit is contained in:
Chris Lattner 2006-11-15 04:53:24 +00:00
parent 8f73ba7e05
commit e3a63d136d
1 changed files with 2 additions and 0 deletions

View File

@ -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