OSDN Git Service

[X86] Use the same predicate for the load for PMOVSXBQ and PMOVZXBQ.
authorCraig Topper <craig.topper@intel.com>
Wed, 4 Apr 2018 07:00:24 +0000 (07:00 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 4 Apr 2018 07:00:24 +0000 (07:00 +0000)
commit0376d42275ea9cb1159e295990130e8fa543eb8d
tree30fe2074f5ab53515c3d044136711bf8085fb295
parent9b44f71fb55a90bd442582cc43ffdff0cc0217c9
[X86] Use the same predicate for the load for PMOVSXBQ and PMOVZXBQ.

These both use a 16-bit load, but one used loadi16_anyext and the other used extloadi32i16. The only difference between them is that loadi16_anyext checked that the load was at least 2 byte aligned and non-volatile. But the alignment doesn't matter here. Just use extloadi32i16 for both.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@329154 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrAVX512.td
lib/Target/X86/X86InstrInfo.td
lib/Target/X86/X86InstrSSE.td