[llvm] [SDAG] Use BatchAAResults for querying alias analysis (AA) results (PR #123934)

Benjamin Maxwell via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 22 05:40:31 PST 2025


================
@@ -1478,6 +1479,15 @@ bool MachineInstr::mayAlias(AAResults *AA, const MachineInstr &Other,
   return false;
 }
 
+bool MachineInstr::mayAlias(AAResults *AA, const MachineInstr &Other,
----------------
MacDue wrote:

`MachineSink.cpp` and several target-specific passes. They probably can also be updated to the batch overload , but this seemed like a reasonable cut off for the first patch. I wonder if this overload should be tagged with `LLVM_DEPRECATED`? 

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


More information about the llvm-commits mailing list