[llvm] r298219 - Correct a rebase mistake.
Xin Tong via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 19 08:41:47 PDT 2017
Author: trentxintong
Date: Sun Mar 19 10:41:46 2017
New Revision: 298219
URL: http://llvm.org/viewvc/llvm-project?rev=298219&view=rev
Log:
Correct a rebase mistake.
Left out AA in jumpthreading SimplifyPartiallyRedundantLoad
Modified:
llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp?rev=298219&r1=298218&r2=298219&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp Sun Mar 19 10:41:46 2017
@@ -1026,7 +1026,7 @@ bool JumpThreadingPass::SimplifyPartiall
Value *Ptr = LoadedPtr->DoPHITranslation(LoadBB, PredBB);
PredAvailable = FindAvailablePtrLoadStore(
Ptr, LI->getType(), LI->isAtomic(), PredBB, BBIt, DefMaxInstsToScan,
- nullptr, &IsLoadCSE, &NumScanedInst);
+ AA, &IsLoadCSE, &NumScanedInst);
// If PredBB has a single predecessor, continue scanning through the
// single precessor.
@@ -1038,7 +1038,7 @@ bool JumpThreadingPass::SimplifyPartiall
BBIt = SinglePredBB->end();
PredAvailable = FindAvailablePtrLoadStore(
Ptr, LI->getType(), LI->isAtomic(), SinglePredBB, BBIt,
- (DefMaxInstsToScan - NumScanedInst), nullptr, &IsLoadCSE,
+ (DefMaxInstsToScan - NumScanedInst), AA, &IsLoadCSE,
&NumScanedInst);
}
}
More information about the llvm-commits
mailing list