[PATCH] CVP: Improve handling of Selects used as incoming PHI values
Björn Steinbrink
bsteinbr at gmail.com
Thu Apr 30 11:25:10 PDT 2015
Updated the patch to use getConstantOnEdge to improve readability. Added a
simpler test case without a loop and a negative test case. LVI doesn't support
vector types yet, so there's no test for that, but I left a note that support
for vector types may be added later.
http://reviews.llvm.org/D9051
Files:
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
test/Transforms/CorrelatedValuePropagation/select.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9051.24753.patch
Type: text/x-patch
Size: 3728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150430/e18b60e8/attachment.bin>
More information about the llvm-commits
mailing list