[llvm] [LLVM][MemCpyOpt] Unify alias tags if we optimize allocas (PR #129537)

Dominik Adamski via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 21 06:35:13 PDT 2025


================
@@ -1569,6 +1571,8 @@ bool MemCpyOptPass::performStackMoveOptzn(Instruction *Load, Instruction *Store,
               continue;
             }
           }
+          if (UI != Store && UI->hasMetadata(LLVMContext::MD_tbaa))
----------------
DominikAdamski wrote:

I added MD_tbaa_struct .

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


More information about the llvm-commits mailing list