[PATCH] D27129: [SelectionDAG] Add partial BITCAST support to computeKnownBits
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 25 06:46:21 PST 2016
RKSimon created this revision.
RKSimon added reviewers: eli.friedman, majnemer, craig.topper, spatel, andreadb.
RKSimon added a subscriber: llvm-commits.
RKSimon set the repository for this revision to rL LLVM.
Adds support for bitcasting a 'small element' vector to 'large element' scalar/vector (e.g. v16i8 to v4i32 or v2i32 to i64), which is required for PR30845. We extract the knownbits for each 'small element' part and concatenate the results together.
I have the code ready for 'large element' scalar/vector to 'small element' vector bitcasting as well if you think it worth adding to this patch now before we have any useful test cases.
Repository:
rL LLVM
https://reviews.llvm.org/D27129
Files:
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
test/CodeGen/X86/pmul.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27129.79300.patch
Type: text/x-patch
Size: 25817 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161125/64261070/attachment.bin>
More information about the llvm-commits
mailing list