summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/JumpThreading.cpp
diff options
context:
space:
mode:
authorXin Tong <trent.xin.tong@gmail.com>2017-03-19 15:41:46 +0000
committerXin Tong <trent.xin.tong@gmail.com>2017-03-19 15:41:46 +0000
commitbcb17ecf0462bcd014e0b481b60011ba408ea5f9 (patch)
treec82bcbc34ab6cbc5104b19972875b1eb77b24bd8 /llvm/lib/Transforms/Scalar/JumpThreading.cpp
parent967e31307809c6d5dc599a412c605d1cf01ea476 (diff)
downloadbcm5719-llvm-bcb17ecf0462bcd014e0b481b60011ba408ea5f9.tar.gz
bcm5719-llvm-bcb17ecf0462bcd014e0b481b60011ba408ea5f9.zip
Correct a rebase mistake.
Left out AA in jumpthreading SimplifyPartiallyRedundantLoad llvm-svn: 298219
Diffstat (limited to 'llvm/lib/Transforms/Scalar/JumpThreading.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/JumpThreading.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/JumpThreading.cpp b/llvm/lib/Transforms/Scalar/JumpThreading.cpp
index a747d75ad3b..4b8b434fce9 100644
--- a/llvm/lib/Transforms/Scalar/JumpThreading.cpp
+++ b/llvm/lib/Transforms/Scalar/JumpThreading.cpp
@@ -1026,7 +1026,7 @@ bool JumpThreadingPass::SimplifyPartiallyRedundantLoad(LoadInst *LI) {
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::SimplifyPartiallyRedundantLoad(LoadInst *LI) {
BBIt = SinglePredBB->end();
PredAvailable = FindAvailablePtrLoadStore(
Ptr, LI->getType(), LI->isAtomic(), SinglePredBB, BBIt,
- (DefMaxInstsToScan - NumScanedInst), nullptr, &IsLoadCSE,
+ (DefMaxInstsToScan - NumScanedInst), AA, &IsLoadCSE,
&NumScanedInst);
}
}
OpenPOWER on IntegriCloud