[llvm] r310813 - [AVX-512] Add hasSideEffects = 0 to the 8-bit and 16-bit register broadcasts.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 13 22:09:34 PDT 2017


Author: ctopper
Date: Sun Aug 13 22:09:34 2017
New Revision: 310813

URL: http://llvm.org/viewvc/llvm-project?rev=310813&view=rev
Log:
[AVX-512] Add hasSideEffects = 0 to the 8-bit and 16-bit register broadcasts.

Modified:
    llvm/trunk/lib/Target/X86/X86InstrAVX512.td

Modified: llvm/trunk/lib/Target/X86/X86InstrAVX512.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrAVX512.td?rev=310813&r1=310812&r2=310813&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrAVX512.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrAVX512.td Sun Aug 13 22:09:34 2017
@@ -954,7 +954,7 @@ multiclass avx512_int_broadcast_reg<bits
 multiclass avx512_int_broadcastbw_reg<bits<8> opc, string Name, 
                                     X86VectorVTInfo _, SDPatternOperator OpNode,
                                     RegisterClass SrcRC, SubRegIndex Subreg> {
-  let ExeDomain = _.ExeDomain in
+  let hasSideEffects = 0, ExeDomain = _.ExeDomain in
   defm r : AVX512_maskable_custom<opc, MRMSrcReg,
                         (outs _.RC:$dst), (ins GR32:$src),
                         !con((ins _.RC:$src0, _.KRCWM:$mask), (ins GR32:$src)),




More information about the llvm-commits mailing list