[all-commits] [llvm/llvm-project] 00fdd2: [LSR] Don't crash on non-branch terminator in -lsr...

Philip Reames via All-commits all-commits at lists.llvm.org
Tue Mar 21 09:36:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 00fdd2cb6c55744ae21f18c377854e9359273454
      https://github.com/llvm/llvm-project/commit/00fdd2cb6c55744ae21f18c377854e9359273454
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

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

  Log Message:
  -----------
  [LSR] Don't crash on non-branch terminator in -lsr-term-fold

Reported in https://reviews.llvm.org/D146415.  I rewrote the patch and aded the test case.  Per that report, spec2006.483.xalancbmk crashes without this fix.




More information about the All-commits mailing list