[AVX512] Simplify use of !con()
authorAdam Nemet <anemet@apple.com>
Fri, 26 Sep 2014 00:53:12 +0000 (00:53 +0000)
committerAdam Nemet <anemet@apple.com>
Fri, 26 Sep 2014 00:53:12 +0000 (00:53 +0000)
No change in X86.td.expanded.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218485 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrAVX512.td

index 274dea9..90f45f9 100644 (file)
@@ -167,10 +167,8 @@ multiclass AVX512_masking_3src<bits<8> O, Format F, dag Outs, dag NonTiedIns,
                                RegisterClass RC, RegisterClass KRC> :
    AVX512_masking_common<O, F, Outs,
                          !con((ins RC:$src1), NonTiedIns),
-                         !con((ins RC:$src1), !con((ins KRC:$mask),
-                                                    NonTiedIns)),
-                         !con((ins RC:$src1), !con((ins KRC:$mask),
-                                                    NonTiedIns)),
+                         !con((ins RC:$src1, KRC:$mask), NonTiedIns),
+                         !con((ins RC:$src1, KRC:$mask), NonTiedIns),
                          OpcodeStr, AttSrcAsm, IntelSrcAsm, RHS,
                          (vselect KRC:$mask, RHS, RC:$src1), OpVT, RC, KRC>;