[PATCH] D33316: [SCEV] Do not fold expressions with SCEVUnknown Phis into AddRecExpr's
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 19 03:36:56 PDT 2017
mkazantsev updated this revision to Diff 99537.
mkazantsev marked 4 inline comments as done.
mkazantsev added a comment.
Addressed the comments, and also made the analysis more accurate. We only react on SCEVUnknown if there is another loop between it and our loop, and this loop header has Phis.
https://reviews.llvm.org/D33316
Files:
lib/Analysis/ScalarEvolution.cpp
test/Analysis/ScalarEvolution/different-loops-recs.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33316.99537.patch
Type: text/x-patch
Size: 8768 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170519/23c5604b/attachment.bin>
More information about the llvm-commits
mailing list