OSDN Git Service

[x86] use hasAVX2() rather than hasInt256(); NFC
authorSanjay Patel <spatel@rotateright.com>
Fri, 8 Dec 2017 18:35:51 +0000 (18:35 +0000)
committerSanjay Patel <spatel@rotateright.com>
Fri, 8 Dec 2017 18:35:51 +0000 (18:35 +0000)
commit15884a222dbb3c24b0d7263dc427ace40ae463ad
tree5a9f09d37f240e331d95e82ca22fdd7e1fe56c11
parent17640ba1738eecb87348e837de8f17506c0d0cc0
[x86] use hasAVX2() rather than hasInt256(); NFC

These are aliases, but the thing we're checking here is that the target has
vpsllv*, not that the data type is 256-bit. Those instructions exist for
128-bit vectors too...but sadly, not for all element sizes.

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