Index: lib/Target/X86/X86InstrAVX512.td =================================================================== --- lib/Target/X86/X86InstrAVX512.td +++ lib/Target/X86/X86InstrAVX512.td @@ -4862,6 +4862,7 @@ SDPatternOperator OpNode, SDNode OpNodeMsk, X86VectorVTInfo _, bit IsCommutable = 0> { + let hasSideEffects = 0 in defm rr : AVX512_maskable_logic, AVX512BIBase, EVEX_4V; + let hasSideEffects = 0, mayLoad = 1 in defm rm : AVX512_maskable_logic