From e9e84c8284ef7cd4c65d0ebde2fe944b8c42376b Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 31 Jan 2017 05:18:24 +0000 Subject: [PATCH] [AVX-512] Fix the ExeDomain for VMOVDDUP, VMOVSLDUP, and VMOVSHDUP. llvm-svn: 293601 --- llvm/lib/Target/X86/X86InstrAVX512.td | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/llvm/lib/Target/X86/X86InstrAVX512.td b/llvm/lib/Target/X86/X86InstrAVX512.td index d58a93eed851..63d14069c327 100644 --- a/llvm/lib/Target/X86/X86InstrAVX512.td +++ b/llvm/lib/Target/X86/X86InstrAVX512.td @@ -8438,6 +8438,7 @@ defm VDBPSADBW: avx512_common_3Op_rm_imm8<0x42, X86dbpsadbw, "vdbpsadbw" , multiclass avx512_unary_rm opc, string OpcodeStr, SDNode OpNode, X86VectorVTInfo _> { + let ExeDomain = _.ExeDomain in { defm rr : AVX512_maskable opc, string OpcodeStr, SDNode OpNode, "$src1", "$src1", (_.VT (OpNode (bitconvert (_.LdFrag addr:$src1))))>, EVEX, AVX5128IBase, EVEX_CD8<_.EltSize, CD8VF>; + } } multiclass avx512_unary_rmb opc, string OpcodeStr, SDNode OpNode, @@ -8598,6 +8600,7 @@ defm VMOVSLDUP : avx512_replicate<0x12, "vmovsldup", X86Movsldup>; multiclass avx512_movddup_128 opc, string OpcodeStr, SDNode OpNode, X86VectorVTInfo _> { + let ExeDomain = _.ExeDomain in { defm rr : AVX512_maskable, EVEX; @@ -8606,6 +8609,7 @@ multiclass avx512_movddup_128 opc, string OpcodeStr, SDNode OpNode, (_.VT (OpNode (_.VT (scalar_to_vector (_.ScalarLdFrag addr:$src)))))>, EVEX, EVEX_CD8<_.EltSize, CD8VH>; + } } multiclass avx512_movddup_common opc, string OpcodeStr, SDNode OpNode,