[all-commits] [llvm/llvm-project] e4dd7e: [LSR] Fold terminating condition not only for eq a...

Mark Goncharov via All-commits all-commits at lists.llvm.org
Mon Mar 20 04:04:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4dd7ec39f8f833a7020e9fc0f5bb152de6dc07d
      https://github.com/llvm/llvm-project/commit/e4dd7ec39f8f833a7020e9fc0f5bb152de6dc07d
  Author: Mark Goncharov <mark.goncharov at syntacore.com>
  Date:   2023-03-20 (Mon, 20 Mar 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
    M llvm/test/Transforms/LoopStrengthReduce/lsr-term-fold-negative-testcase.ll
    M llvm/test/Transforms/LoopStrengthReduce/lsr-term-fold.ll

  Log Message:
  -----------
  [LSR] Fold terminating condition not only for eq and ne.

Add opportunity to fold any icmp instruction.




More information about the All-commits mailing list