Skip to content

Commit

Permalink
SLPVectorizer: Pass through AssumptionCache
Browse files Browse the repository at this point in the history
  • Loading branch information
arsenm committed Sep 19, 2022
1 parent b609741 commit 555af02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9595,7 +9595,7 @@ void BoUpSLP::BlockScheduling::calculateDependencies(ScheduleData *SD,
if (!isGuaranteedToTransferExecutionToSuccessor(BundleMember->Inst)) {
for (Instruction *I = BundleMember->Inst->getNextNode();
I != ScheduleEnd; I = I->getNextNode()) {
if (isSafeToSpeculativelyExecute(I, &*BB->begin()))
if (isSafeToSpeculativelyExecute(I, &*BB->begin(), SLP->AC))
continue;

// Add the dependency
Expand Down

0 comments on commit 555af02

Please sign in to comment.