[all-commits] [llvm/llvm-project] 3abaa3: [LSR] Preserve LCSSA in expander when rewriting lo...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Sep 27 02:00:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3abaa3760d232b9ad530c7be982583573cf9ec3d
      https://github.com/llvm/llvm-project/commit/3abaa3760d232b9ad530c7be982583573cf9ec3d
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-09-27 (Tue, 27 Sep 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
    M llvm/test/Transforms/LoopStrengthReduce/scev-expander-lcssa.ll

  Log Message:
  -----------
  [LSR] Preserve LCSSA in expander when rewriting loop exit values.

The expanded values when rewriting exit values need to preserve LCSSA.
Ask SCEVExpander to preserve LCSSA to ensure that.

Fixes #58007.




More information about the All-commits mailing list