[llvm] [LLVM][MemCpyOpt] Unify alias tags if we optimize allocas (PR #129537)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 6 14:11:19 PDT 2025
================
@@ -1524,8 +1525,8 @@ bool MemCpyOptPass::performStackMoveOptzn(Instruction *Load, Instruction *Store,
};
auto CaptureTrackingWithModRef =
- [&](Instruction *AI,
- function_ref<bool(Instruction *)> ModRefCallback) -> bool {
+ [&](Instruction *AI, function_ref<bool(Instruction *)> ModRefCallback,
+ SmallSet<Instruction *, 4> &AllocaInstUsersWithTBAA) -> bool {
----------------
nikic wrote:
No need for the argument, the variable is captured.
https://github.com/llvm/llvm-project/pull/129537
More information about the llvm-commits
mailing list