[AVX512] Add hasSideEffects=0 to kunpck instructions since they lack a pattern in...
authorCraig Topper <craig.topper@gmail.com>
Tue, 5 Jan 2016 07:44:08 +0000 (07:44 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 5 Jan 2016 07:44:08 +0000 (07:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256816 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrAVX512.td

index 8bf2925..0a27c33 100644 (file)
@@ -2366,6 +2366,7 @@ def : Pat<(xor (xor VK1:$src1, VK1:$src2), (i1 1)),
 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}", []>,