mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 16:24:23 +00:00
Fix a gcc 4.2 warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31751 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -2760,6 +2760,7 @@ static Value *getSetCCValue(unsigned Opcode, Value *LHS, Value *RHS) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// FoldSetCCLogical - Implements (setcc1 A, B) & (setcc2 A, B) --> (setcc3 A, B)
|
// FoldSetCCLogical - Implements (setcc1 A, B) & (setcc2 A, B) --> (setcc3 A, B)
|
||||||
|
namespace {
|
||||||
struct FoldSetCCLogical {
|
struct FoldSetCCLogical {
|
||||||
InstCombiner ⁣
|
InstCombiner ⁣
|
||||||
Value *LHS, *RHS;
|
Value *LHS, *RHS;
|
||||||
@ -2795,6 +2796,7 @@ struct FoldSetCCLogical {
|
|||||||
return IC.ReplaceInstUsesWith(Log, RV);
|
return IC.ReplaceInstUsesWith(Log, RV);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
} // end anonymous namespace
|
||||||
|
|
||||||
// OptAndOp - This handles expressions of the form ((val OP C1) & C2). Where
|
// 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
|
// the Op parameter is 'OP', OpRHS is 'C1', and AndRHS is 'C2'. Op is
|
||||||
|
Reference in New Issue
Block a user