mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Change lower atomic pass to use IntrinsicInst to simplify it a bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113114 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -726,10 +726,9 @@ bool JumpThreading::ProcessBlock(BasicBlock *BB) {
|
||||
if (Baseline != LazyValueInfo::Unknown) {
|
||||
// Check that all remaining incoming values match the first one.
|
||||
while (++PI != PE) {
|
||||
LazyValueInfo::Tristate Ret = LVI->getPredicateOnEdge(
|
||||
CondCmp->getPredicate(),
|
||||
CondCmp->getOperand(0),
|
||||
CondConst, *PI, BB);
|
||||
LazyValueInfo::Tristate Ret =
|
||||
LVI->getPredicateOnEdge(CondCmp->getPredicate(),
|
||||
CondCmp->getOperand(0), CondConst, *PI, BB);
|
||||
if (Ret != Baseline) break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user