[llvm] [GVN] MemorySSA for GVN: embed the memory state in symbolic expressions (PR #123218)
Alina Sbirlea via llvm-commits
llvm-commits at lists.llvm.org
Tue May 27 12:51:29 PDT 2025
================
@@ -596,10 +617,37 @@ uint32_t GVNPass::ValueTable::lookupOrAddCall(CallInst *C) {
return v;
}
+ if (MSSA && AA->onlyReadsMemory(C)) {
----------------
alinas wrote:
This looks to me like it should be `MSSA && IsMSSAEnabled && AA->onlyReadsMemory(C)`. WDYT?
https://github.com/llvm/llvm-project/pull/123218
More information about the llvm-commits
mailing list