[llvm] [LSR] Split the -lsr-term-fold transformation into it's own pass (PR #104234)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 16 23:01:15 PDT 2024


================
@@ -81,6 +81,7 @@
 #include "llvm/Analysis/TargetTransformInfo.h"
 #include "llvm/Analysis/ValueTracking.h"
 #include "llvm/BinaryFormat/Dwarf.h"
+#include "llvm/CodeGen/Passes.h"
----------------
topperc wrote:

Is this needed? Looks the other changes in this file were deletions so I don't understand why a new header is needed.

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


More information about the llvm-commits mailing list