[llvm] r195978 - Desensitize a couple of PPC regression tests
Hal Finkel
hfinkel at anl.gov
Sat Nov 30 11:52:28 PST 2013
Author: hfinkel
Date: Sat Nov 30 13:52:28 2013
New Revision: 195978
URL: http://llvm.org/viewvc/llvm-project?rev=195978&view=rev
Log:
Desensitize a couple of PPC regression tests
Use CHECK-DAG to make these regression tests more resilient against changes in
instruction scheduling.
Modified:
llvm/trunk/test/CodeGen/PowerPC/sjlj.ll
llvm/trunk/test/CodeGen/PowerPC/unaligned.ll
Modified: llvm/trunk/test/CodeGen/PowerPC/sjlj.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/sjlj.ll?rev=195978&r1=195977&r2=195978&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/sjlj.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/sjlj.ll Sat Nov 30 13:52:28 2013
@@ -134,8 +134,8 @@ return:
; CHECK: @main2
; CHECK: addis [[REG:[0-9]+]], 2, env_sigill at toc@ha
-; CHECK: std 31, env_sigill at toc@l([[REG]])
-; CHECK: addi [[REGB:[0-9]+]], [[REG]], env_sigill at toc@l
+; CHECK-DAG: std 31, env_sigill at toc@l([[REG]])
+; CHECK-DAG: addi [[REGB:[0-9]+]], [[REG]], env_sigill at toc@l
; CHECK-DAG: std [[REGB]], [[OFF:[0-9]+]](31) # 8-byte Folded Spill
; CHECK-DAG: std 1, 16([[REGB]])
; CHECK-DAG: std 2, 24([[REGB]])
Modified: llvm/trunk/test/CodeGen/PowerPC/unaligned.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/unaligned.ll?rev=195978&r1=195977&r2=195978&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/unaligned.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/unaligned.ll Sat Nov 30 13:52:28 2013
@@ -65,9 +65,9 @@ entry:
; These loads and stores are legalized into aligned loads and stores
; using aligned stack slots.
; CHECK: @foo6
-; CHECK: ld
-; CHECK: ld
-; CHECK: std
-; CHECK: std
+; CHECK-DAG: ld
+; CHECK-DAG: ld
+; CHECK-DAG: stdx
+; CHECK: stdx
}
More information about the llvm-commits
mailing list