[X86][SSE] Improved i8/i16 to f64 uint2fp vector conversions
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 4 Jul 2015 15:33:34 +0000 (15:33 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 4 Jul 2015 15:33:34 +0000 (15:33 +0000)
commit4606f6d8da7b81fe1cce01c33251c826dd751e6d
treef4292040161bbe7c0384d908fc90b6bb16142c3b
parent2244d521c0c396f2dba10e89bb30d615f0781a7c
[X86][SSE] Improved i8/i16 to f64 uint2fp vector conversions

Followup to D10433 and D10589 that fixes i8/i16 uint2fp vector conversions by zero extending to i32 and using the sint2fp path (unless the target does actually support uint2fp).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241394 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vec_int_to_fp.ll