[all-commits] [llvm/llvm-project] c0ef83: [LSR] Check if terminating value is safe to expand...

Yueh-Ting (eop) Chen via All-commits all-commits at lists.llvm.org
Tue Nov 15 14:57:01 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0ef83e3b930c34cbfe861dccfe515bb1e450dfa
      https://github.com/llvm/llvm-project/commit/c0ef83e3b930c34cbfe861dccfe515bb1e450dfa
  Author: eopXD <yueh.ting.chen at gmail.com>
  Date:   2022-11-15 (Tue, 15 Nov 2022)

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

  Log Message:
  -----------
  [LSR] Check if terminating value is safe to expand before transformation

According to report by @JojoR, the assertion error was hit hence we need
to have this check before the actual transformation.

Reviewed By: Meinersbur, #loopoptwg

Differential Revision: https://reviews.llvm.org/D136415




More information about the All-commits mailing list