[llvm] [GVN] MemorySSA for GVN: embed the memory state in symbolic expressions (PR #123218)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 2 03:08:50 PDT 2025


================
@@ -596,10 +617,37 @@ uint32_t GVNPass::ValueTable::lookupOrAddCall(CallInst *C) {
     return v;
   }
 
+  if (MSSA && AA->onlyReadsMemory(C)) {
----------------
antoniofrighetto wrote:

Updated, thanks!

https://github.com/llvm/llvm-project/pull/123218


More information about the llvm-commits mailing list