OSDN Git Service

[x86] don't use a shuffle when a vselect will do; NFCI
authorSanjay Patel <spatel@rotateright.com>
Thu, 10 Mar 2016 22:35:33 +0000 (22:35 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 10 Mar 2016 22:35:33 +0000 (22:35 +0000)
commit444e7f978344d11156b345953acaddd4073d51cb
treea2c3eec0477cf7f8c2ab252c8f32a1e375f62443
parent578acc5b5381ef2917f5eeb55058b3d5bdc16bdf
[x86] don't use a shuffle when a vselect will do; NFCI

Looking at the IR definition of a masked load made me realize
there was no reason to use a shuffle here, so we don't need
to convert the format of the mask at all.

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