[all-commits] [llvm/llvm-project] 253712: Follow-up to D105207, only salvage affine SCEVs to...
Jeremy Morse via All-commits
all-commits at lists.llvm.org
Thu Jul 29 03:48:58 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2537120c870c04893636f171f553024f378c2de8
https://github.com/llvm/llvm-project/commit/2537120c870c04893636f171f553024f378c2de8
Author: Jeremy Morse <jeremy.morse at sony.com>
Date: 2021-07-29 (Thu, 29 Jul 2021)
Changed paths:
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Log Message:
-----------
Follow-up to D105207, only salvage affine SCEVs to avoid a crash
SCEVToIterCountExpr only expects to be fed affine expressions, but
DbgRewriteSalvageableDVIs is feeding it non-affine induction variables.
Following this up with an obvious fix, will add test coverage too if
this avoids D105207 being reverted.
More information about the All-commits
mailing list