[llvm] r256816 - [AVX512] Add hasSideEffects=0 to kunpck instructions since they lack a pattern in their instructions.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 4 23:44:08 PST 2016


Author: ctopper
Date: Tue Jan  5 01:44:08 2016
New Revision: 256816

URL: http://llvm.org/viewvc/llvm-project?rev=256816&view=rev
Log:
[AVX512] Add hasSideEffects=0 to kunpck instructions since they lack a pattern in their instructions.

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=256816&r1=256815&r2=256816&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrAVX512.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrAVX512.td Tue Jan  5 01:44:08 2016
@@ -2366,6 +2366,7 @@ def : Pat<(xor (xor VK1:$src1, VK1:$src2
 multiclass avx512_mask_unpck<string Suffix,RegisterClass KRC, ValueType VT,
                              RegisterClass KRCSrc, Predicate prd> {
   let Predicates = [prd] in {
+    let hasSideEffects = 0 in
     def rr : I<0x4b, MRMSrcReg, (outs KRC:$dst),
                (ins KRC:$src1, KRC:$src2),
                "kunpck"#Suffix#"\t{$src2, $src1, $dst|$dst, $src1, $src2}", []>,




More information about the llvm-commits mailing list