[PATCH] D37751: [X86 CodeGen] Optimization of ZeroExtendLoad for v2i8 vector
Elena Demikhovsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 12 11:07:23 PDT 2017
delena created this revision.
Load with zero-extend and sign-extend from v2i8 to v2i32 is "Legal" since SSE4.1 and may be performed using PMOVZXBD , PMOVSXBD instructions.
The sequence that we have in conversion in uitofp_load_2i8_to_2f64() is better, than it was, but still sub-optimal. I'll open a separate bug for it.
Repository:
rL LLVM
https://reviews.llvm.org/D37751
Files:
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vec_int_to_fp.ll
test/CodeGen/X86/vector-sext.ll
test/CodeGen/X86/vector-zext.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37751.114866.patch
Type: text/x-patch
Size: 6565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170912/d974a9fc/attachment.bin>
More information about the llvm-commits
mailing list