[PATCH] D39345: SCEV: preserve debug information attached to PHI nodes.

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 27 11:47:39 PDT 2017


aprantl updated this revision to Diff 120666.
aprantl added a comment.

Here is a slightly more general version that includes most of Hal's feedback. I will create a couple of more interesting testcases next to see how to handle cases where the result of subtracting the two recurrences is not a constant.


https://reviews.llvm.org/D39345

Files:
  lib/Analysis/ScalarEvolutionExpander.cpp
  test/Transforms/IndVarSimplify/scev-phi-debug-info.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39345.120666.patch
Type: text/x-patch
Size: 7836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171027/9fd98446/attachment.bin>


More information about the llvm-commits mailing list