forked from OSchip/llvm-project
parent
ab0a85ef4d
commit
c647dcfba0
|
@ -866,7 +866,6 @@ bool JumpThreadingPass::ProcessBlock(BasicBlock *BB) {
|
||||||
if (PN->getParent() == BB && isa<BranchInst>(BB->getTerminator()))
|
if (PN->getParent() == BB && isa<BranchInst>(BB->getTerminator()))
|
||||||
return ProcessBranchOnPHI(PN);
|
return ProcessBranchOnPHI(PN);
|
||||||
|
|
||||||
|
|
||||||
// If this is an otherwise-unfoldable branch on a XOR, see if we can simplify.
|
// If this is an otherwise-unfoldable branch on a XOR, see if we can simplify.
|
||||||
if (CondInst->getOpcode() == Instruction::Xor &&
|
if (CondInst->getOpcode() == Instruction::Xor &&
|
||||||
CondInst->getParent() == BB && isa<BranchInst>(BB->getTerminator()))
|
CondInst->getParent() == BB && isa<BranchInst>(BB->getTerminator()))
|
||||||
|
|
Loading…
Reference in New Issue