[Polly][FIX] Adjust enum after D153305

This commit is contained in:
Johannes Doerfert 2023-07-03 12:47:31 -07:00
parent f595c50040
commit b288e66862

View File

@ -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());