diff options
| author | Craig Topper <craig.topper@intel.com> | 2018-10-24 06:13:36 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2018-10-24 06:13:36 +0000 |
| commit | da54bbf52a8c820e681985a8da0988fbc54221c4 (patch) | |
| tree | 31f8528bf3983d7f1edc0f85900d7785aeab9cda /llvm/lib | |
| parent | a451599f89b4c4bc36cbbbdae3b6acc94763830a (diff) | |
| download | bcm5719-llvm-da54bbf52a8c820e681985a8da0988fbc54221c4.tar.gz bcm5719-llvm-da54bbf52a8c820e681985a8da0988fbc54221c4.zip | |
[X86] Correct a bad isel predicate. Though I don't think it can be exposed.
This B/W VPTEST instructions are only available with AVX512BW. But lowering should prevent any byte or word elements from getting to isel so this can't be exposed.
llvm-svn: 345112
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/X86/X86InstrAVX512.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86InstrAVX512.td b/llvm/lib/Target/X86/X86InstrAVX512.td index b2d0ce2bcd3..5550eb0061f 100644 --- a/llvm/lib/Target/X86/X86InstrAVX512.td +++ b/llvm/lib/Target/X86/X86InstrAVX512.td @@ -5901,7 +5901,7 @@ multiclass avx512_vptest_wb<bits<8> opc, string OpcodeStr, v16i8x_info, NAME#"B">, EVEX_V128; } - let Predicates = [HasAVX512, NoVLX] in { + let Predicates = [HasBWI, NoVLX] in { defm BZ256_Alt : avx512_vptest_lowering<OpNode, v64i8_info, v32i8x_info, NAME#"B">; defm BZ128_Alt : avx512_vptest_lowering<OpNode, v64i8_info, v16i8x_info, NAME#"B">; defm WZ256_Alt : avx512_vptest_lowering<OpNode, v32i16_info, v16i16x_info, NAME#"W">; |

