From 9fdd078afbab5428b288c32bf7aa9e540cdeb4a7 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Thu, 15 Jan 2015 09:37:15 +0000 Subject: [PATCH] Hide some redundant AVX512 instructions from the asm parser, but force them to show up in the disassembler. llvm-svn: 226155 --- llvm/lib/Target/X86/X86InstrAVX512.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/X86/X86InstrAVX512.td b/llvm/lib/Target/X86/X86InstrAVX512.td index c4ec3df..463ab62 100644 --- a/llvm/lib/Target/X86/X86InstrAVX512.td +++ b/llvm/lib/Target/X86/X86InstrAVX512.td @@ -2113,7 +2113,7 @@ multiclass avx512_load_vl opc, string OpcodeStr, string ld_pat, multiclass avx512_store opc, string OpcodeStr, PatFrag st_frag, ValueType OpVT, RegisterClass KRC, RegisterClass RC, X86MemOperand memop, Domain d> { - let isAsmParserOnly = 1, hasSideEffects = 0 in { + let isCodeGenOnly = 1, ForceDisassemble = 1, hasSideEffects = 0 in { def rr_alt : AVX512PI, EVEX; -- 2.7.4