mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Correct the comment; this applies to fcmp too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82380 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8577e27dd3
commit
b13efdafec
@ -710,7 +710,7 @@ Constant *llvm::ConstantFoldBinaryInstruction(LLVMContext &Context,
|
||||
default: break;
|
||||
case Instruction::ICmp:
|
||||
case Instruction::FCmp:
|
||||
// icmp pred ^ true -> icmp !pred
|
||||
// cmp pred ^ true -> cmp !pred
|
||||
assert(CI2->equalsInt(1));
|
||||
CmpInst::Predicate pred = (CmpInst::Predicate)CE1->getPredicate();
|
||||
pred = CmpInst::getInversePredicate(pred);
|
||||
|
Loading…
Reference in New Issue
Block a user