]> granicus.if.org Git - llvm/commit
[x86] allow narrowing of vector UINT_TO_FP
authorSanjay Patel <spatel@rotateright.com>
Fri, 22 Feb 2019 15:47:45 +0000 (15:47 +0000)
committerSanjay Patel <spatel@rotateright.com>
Fri, 22 Feb 2019 15:47:45 +0000 (15:47 +0000)
commit8ed2d5e37993fc0204b433e56d655b97e60a49a2
tree43fce6f720b4a35a38c7a199d45c59d67e58ab2d
parentbddcf9f3b6efff1027c1882995b37fd2e9f4d4e5
[x86] allow narrowing of vector UINT_TO_FP

As discussed in:
D56864
D58197

Always use the narrow (128-bit) instruction when possible.
We already had the signed int version of this transform.

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