[llvm] [DSE] Fixes bug caused by skipped read clobbers (PR #83181)

via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 27 14:00:31 PST 2024


================
@@ -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


More information about the llvm-commits mailing list