[PATCH] D127947: [AST] Don't assert instruction reads/writes memory (PR51333)

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 24 02:02:07 PDT 2022


nikic added inline comments.


================
Comment at: llvm/lib/Analysis/AliasSetTracker.cpp:237
+  if (!Inst->mayReadOrWriteMemory())
+    return false;
 
----------------
If desired, I could also just drop the check completely and let getModRefInfo do its thing.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127947/new/

https://reviews.llvm.org/D127947



More information about the llvm-commits mailing list