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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 16 06:13:09 PDT 2024


================
@@ -140,6 +140,9 @@ class TargetPassConfig : public ImmutablePass {
   /// callers.
   bool RequireCodeGenSCCOrder = false;
 
+  /// Enable LoopTailFold immediately after LSR
+  bool EnableLoopTailFold = false;
----------------
nikic wrote:

```suggestion
  /// Enable LoopTermFold immediately after LSR
  bool EnableLoopTermFold = false;
```
I assume you meant this?

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


More information about the llvm-commits mailing list