mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 18:31:23 +00:00
Fix comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35655 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c82a5da049
commit
0091bf2439
@ -4903,7 +4903,7 @@ Instruction *InstCombiner::visitICmpInstWithInstAndIntCst(ICmpInst &ICI,
|
||||
const APInt &RHSV = RHS->getValue();
|
||||
|
||||
switch (LHSI->getOpcode()) {
|
||||
case Instruction::Xor: // (icmp pred (and X, XorCST), CI)
|
||||
case Instruction::Xor: // (icmp pred (xor X, XorCST), CI)
|
||||
if (ConstantInt *XorCST = dyn_cast<ConstantInt>(LHSI->getOperand(1))) {
|
||||
// If this is a comparison that tests the signbit (X < 0) or (x > -1),
|
||||
// fold the xor.
|
||||
|
Loading…
Reference in New Issue
Block a user