[llvm] [X86] Enable alias analysis (AA) during codegen (PR #123787)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 22 01:27:48 PST 2025


================
@@ -249,7 +249,8 @@ namespace {
   public:
     DAGCombiner(SelectionDAG &D, AliasAnalysis *AA, CodeGenOptLevel OL)
----------------
nikic wrote:

It would be better to directly accept a BatchAA argument here. That way you can reuse the same BatchAA instance across multiple DAGCombine runs (we do 2-4 per function).

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


More information about the llvm-commits mailing list