[PATCH] D76983: [InstCombine] Transform extractelement-trunc -> bitcast-extractelement
Daan Sprenkels via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 28 09:40:13 PDT 2020
dsprenkels updated this revision to Diff 253352.
dsprenkels added a comment.
Do not canonicalize if the extractvector operand has other users.
Do not canonicalize if it would result in an invalid bitcast instruction.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76983/new/
https://reviews.llvm.org/D76983
Files:
llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
llvm/test/Transforms/InstCombine/pr45314_be.ll
llvm/test/Transforms/InstCombine/pr45314_le.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76983.253352.patch
Type: text/x-patch
Size: 9645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200328/8e2b3dba/attachment-0001.bin>
More information about the llvm-commits
mailing list