From fb60926c732a9f842320457d6f9bb16cc240d12c Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 5 Sep 2017 05:49:44 +0000 Subject: [PATCH] [X86] Add hasSideEffects=0 and mayLoad=1 to some instructions that recently had their patterns removed. llvm-svn: 312520 --- lib/Target/X86/X86InstrAVX512.td | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Target/X86/X86InstrAVX512.td b/lib/Target/X86/X86InstrAVX512.td index 91e6df7b014..394dfbf6fc4 100644 --- a/lib/Target/X86/X86InstrAVX512.td +++ b/lib/Target/X86/X86InstrAVX512.td @@ -519,7 +519,7 @@ multiclass vinsert_for_size_split { - let ExeDomain = To.ExeDomain in { + let hasSideEffects = 0, ExeDomain = To.ExeDomain in { defm rr : AVX512_maskable_split, AVX512AIi8Base, EVEX_4V; + let mayLoad = 1 in defm rm : AVX512_maskable_split opc, string OpcodeStr, // is requested. multiclass avx512_subvec_broadcast_rm_dq opc, string OpcodeStr, X86VectorVTInfo _Dst, X86VectorVTInfo _Src> { + let hasSideEffects = 0, mayLoad = 1 in defm rm : AVX512_maskable_split