[PATCH] D62449: [X86][SSE] Improve bool vector extload (PR26091)
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat May 25 09:47:57 PDT 2019
RKSimon created this revision.
RKSimon added reviewers: craig.topper, spatel, lebedev.ri.
Herald added a project: LLVM.
We already have good codegen for (vXiY *ext(vXi1 bitcast(iX))) cases, this patch uses it for ext-loads of vXi1 types as well - changing the load into a iX integer load, and bitcasting+extending so that combineToExtendBoolVectorInReg can then use it.
What's curious is how much we're using MOVD (VMOVDI2PDIrm) scalar_to_vector loads directly for smaller (<i32) memory sources - I don't THINK this is something I've introduced but its something that looks potentially concerning - @craig.topper any ideas?
Repository:
rL LLVM
https://reviews.llvm.org/D62449
Files:
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vector-sext-widen.ll
test/CodeGen/X86/vector-sext.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62449.201408.patch
Type: text/x-patch
Size: 275699 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190525/0b96e574/attachment-0001.bin>
More information about the llvm-commits
mailing list