[PATCH] D107016: [DebugInfo][LoopStrengthReduction] Ensure restoration of cached DIExpression when using SCEV-based salvaging

Chris Jackson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 11 09:24:23 PDT 2021


chrisjackson updated this revision to Diff 372077.
chrisjackson added a comment.
Herald added a subscriber: ormris.

Added a test in response to reviewer comments. The test demonstrates the potential to create an incorrect DIExpression if the pre-LSR cached locations and expressions are not restored.


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

https://reviews.llvm.org/D107016

Files:
  llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
  llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-2.ll
  llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-3.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107016.372077.patch
Type: text/x-patch
Size: 15526 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210911/441ad5a3/attachment.bin>


More information about the llvm-commits mailing list