[polly] 9310250 - Rename mayBeMemoryDependent in polly to fix build bot
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 21 10:11:39 PDT 2022
Author: Philip Reames
Date: 2022-03-21T10:11:31-07:00
New Revision: 93102505aa08a9b804354d1e281ea8670be7c131
URL: https://github.com/llvm/llvm-project/commit/93102505aa08a9b804354d1e281ea8670be7c131
DIFF: https://github.com/llvm/llvm-project/commit/93102505aa08a9b804354d1e281ea8670be7c131.diff
LOG: Rename mayBeMemoryDependent in polly to fix build bot
This case was missed in ee7324b8.
Added:
Modified:
polly/lib/Transform/ForwardOpTree.cpp
Removed:
################################################################################
diff --git a/polly/lib/Transform/ForwardOpTree.cpp b/polly/lib/Transform/ForwardOpTree.cpp
index c981e8e0a7de6..567faea5003b0 100644
--- a/polly/lib/Transform/ForwardOpTree.cpp
+++ b/polly/lib/Transform/ForwardOpTree.cpp
@@ -682,7 +682,7 @@ class ForwardOpTreeImpl : ZoneAlgorithm {
// Instruction::mayHaveSideEffects is not sufficient because it considers
// malloc to not have side-effects. llvm::isSafeToSpeculativelyExecute is
// not sufficient because it allows memory accesses.
- if (mayBeMemoryDependent(*UseInst))
+ if (mayHaveNonDefUseDependency(*UseInst))
return ForwardingAction::notApplicable();
SmallVector<ForwardingAction::KeyTy, 4> Depends;
More information about the llvm-commits
mailing list