================ @@ -1274,7 +1274,8 @@ struct DSEState { if (CB->onlyAccessesInaccessibleMemory()) return false; - return isRefSet(BatchAA.getModRefInfo(UseInst, DefLoc)); + AAQueryInfo TmpAAQI(AA, &EI); ---------------- vporpo wrote: Ah, nice, thanks! https://github.com/llvm/llvm-project/pull/83181