[PATCH] D87494: Improve LSR debug-info

Markus Lavin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 01:47:13 PDT 2020


markus updated this revision to Diff 295492.
markus added a comment.

Tuns out that previous "safety code" caused problems when bootstraping clang. Apparently it is not safe to do getType() on all SCEVs so instead we now store away the type information and compare on the Value instead of the SCEV.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87494

Files:
  llvm/include/llvm/Analysis/ScalarEvolution.h
  llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
  llvm/test/DebugInfo/COFF/fpo-shrink-wrap.ll
  llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-0.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87494.295492.patch
Type: text/x-patch
Size: 9880 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201001/dabce532/attachment.bin>


More information about the llvm-commits mailing list