[PATCH] D43810: [SCEV] Smart range calculation for SCEVUnknown Phis
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 27 01:20:12 PST 2018
mkazantsev created this revision.
mkazantsev added reviewers: sanjoy, skatkov, reames.
The range of SCEVUnknown Phi which merges values `X1, X2, ..., XN`
can be evaluated as `U(Range(X1), Range(X2), ..., Range(XN))`.
https://reviews.llvm.org/D43810
Files:
include/llvm/Analysis/ScalarEvolution.h
lib/Analysis/ScalarEvolution.cpp
test/Analysis/ScalarEvolution/unknown_phis.ll
test/Transforms/IRCE/single-access-no-preloop.ll
test/Transforms/LoopVectorize/X86/consecutive-ptr-cg-bug.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43810.136044.patch
Type: text/x-patch
Size: 8307 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180227/a8e8e136/attachment.bin>
More information about the llvm-commits
mailing list