[PATCH] D105207: [debuginfo][lsr] SCEV-based salvaging for LoopStrengthReduction

Chris Jackson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 24 23:31:05 PDT 2021


chrisjackson updated this revision to Diff 361490.
chrisjackson added a comment.

Apply changes  in response to @jmorse's  review. Additionally:

- Make LSR IV vector private and add accessor.
- Collapse shortened PushCast() into PushSCEV().
- Fix formatting.
- Fix a mistake in pushSCEV()'s call to pushArithmeticImpl().

A lit test covering pushCast will follow.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105207/new/

https://reviews.llvm.org/D105207

Files:
  llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
  llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
  llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
  llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-0.ll
  llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-2.ll
  llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-variadic-value-0.ll
  llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-variadic-value-1.ll
  llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-variadic-value-2.ll
  llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-variadic-value-3.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105207.361490.patch
Type: text/x-patch
Size: 48334 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210725/ae460c7d/attachment.bin>


More information about the llvm-commits mailing list