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

Dominik Adamski via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 8 02:53:31 PDT 2025


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

Done, I merged main branch and I simplified collection of instructions.

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


More information about the llvm-commits mailing list