[polly] b288e66 - [Polly][FIX] Adjust enum after D153305
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 3 12:49:45 PDT 2023
Author: Johannes Doerfert
Date: 2023-07-03T12:49:28-07:00
New Revision: b288e668626bed43662669acb578fe05b14a355a
URL: https://github.com/llvm/llvm-project/commit/b288e668626bed43662669acb578fe05b14a355a
DIFF: https://github.com/llvm/llvm-project/commit/b288e668626bed43662669acb578fe05b14a355a.diff
LOG: [Polly][FIX] Adjust enum after D153305
Added:
Modified:
polly/lib/Analysis/ScopBuilder.cpp
Removed:
################################################################################
diff --git a/polly/lib/Analysis/ScopBuilder.cpp b/polly/lib/Analysis/ScopBuilder.cpp
index ad77c4a5303802..0e3de8b5b6c5f3 100644
--- a/polly/lib/Analysis/ScopBuilder.cpp
+++ b/polly/lib/Analysis/ScopBuilder.cpp
@@ -1649,7 +1649,7 @@ bool ScopBuilder::buildAccessCallInst(MemAccInst Inst, ScopStmt *Stmt) {
return true;
if (ME.onlyAccessesArgPointees()) {
- ModRefInfo ArgMR = ME.getModRef(MemoryEffects::ArgMem);
+ ModRefInfo ArgMR = ME.getModRef(IRMemLocation::ArgMem);
auto AccType =
!isModSet(ArgMR) ? MemoryAccess::READ : MemoryAccess::MAY_WRITE;
Loop *L = LI.getLoopFor(Inst->getParent());
More information about the llvm-commits
mailing list