[PATCH] D30137: [InstCombine] shrink truncated insertelement with constant operand
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 7 15:11:10 PST 2017
spatel updated this revision to Diff 90948.
spatel added a comment.
Patch updated:
1. Limit the transform to insertion into an undef vector to avoid backend problems.
2. Add tests for undef.
3. Add TODO comments for original tests.
https://reviews.llvm.org/D30137
Files:
lib/Transforms/InstCombine/InstCombineCasts.cpp
test/Transforms/InstCombine/vector-casts.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30137.90948.patch
Type: text/x-patch
Size: 4659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170307/4674f6d5/attachment.bin>
More information about the llvm-commits
mailing list