[llvm] r289869 - [PPC] Use CHECK-DAG instead of CHECK in the testcase
Ehsan Amiri via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 15 12:51:10 PST 2016
Author: amehsan
Date: Thu Dec 15 14:51:09 2016
New Revision: 289869
URL: http://llvm.org/viewvc/llvm-project?rev=289869&view=rev
Log:
[PPC] Use CHECK-DAG instead of CHECK in the testcase
This test is currently sensitive to scheduling. Using CHECK-DAG allows us to
preserve the main purpose of the test and remove this sensivity.
In preparation to commit Power9 processor model.
Modified:
llvm/trunk/test/CodeGen/PowerPC/swaps-le-1.ll
Modified: llvm/trunk/test/CodeGen/PowerPC/swaps-le-1.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/swaps-le-1.ll?rev=289869&r1=289868&r2=289869&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/swaps-le-1.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/swaps-le-1.ll Thu Dec 15 14:51:09 2016
@@ -158,15 +158,15 @@ for.end:
; NOOPTSWAP: stxvd2x
; CHECK-P9-LABEL: @foo
-; CHECK-P9: lxvx
-; CHECK-P9: lxvx
-; CHECK-P9: lxvx
-; CHECK-P9: lxvx
-; CHECK-P9: lxvx
-; CHECK-P9: lxvx
-; CHECK-P9: lxvx
-; CHECK-P9: lxvx
-; CHECK-P9: lxvx
+; CHECK-P9-DAG: lxvx
+; CHECK-P9-DAG: lxvx
+; CHECK-P9-DAG: lxvx
+; CHECK-P9-DAG: lxvx
+; CHECK-P9-DAG: lxvx
+; CHECK-P9-DAG: lxvx
+; CHECK-P9-DAG: lxvx
+; CHECK-P9-DAG: lxvx
+; CHECK-P9-DAG: lxvx
; CHECK-P9-DAG: lxvx
; CHECK-P9-DAG: lxvx
; CHECK-P9-DAG: lxvx
@@ -174,12 +174,12 @@ for.end:
; CHECK-P9-DAG: vadduwm
; CHECK-P9-DAG: vadduwm
; CHECK-P9-DAG: vadduwm
-; CHECK-P9: vmuluwm
-; CHECK-P9: vmuluwm
-; CHECK-P9: vmuluwm
; CHECK-P9-DAG: vmuluwm
+; CHECK-P9-DAG: vmuluwm
+; CHECK-P9-DAG: vmuluwm
+; CHECK-P9-DAG: vmuluwm
+; CHECK-P9-DAG: stxvx
+; CHECK-P9-DAG: stxvx
+; CHECK-P9-DAG: stxvx
; CHECK-P9-DAG: stxvx
-; CHECK-P9: stxvx
-; CHECK-P9: stxvx
-; CHECK-P9: stxvx
More information about the llvm-commits
mailing list