aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-04-08 00:14:17 +0000
committerDale Johannesen <dalej@apple.com>2008-04-08 00:14:17 +0000
commitbf23d3f6659558f683e1d5cb97bb4bb497ea2534 (patch)
treef80aa689aff38e790f2e55273a404e9185a19511 /test/CodeGen/PowerPC
parenta9b3e482b2edd1cfee555b48ad85260af9d3971c (diff)
downloadexternal_llvm-bf23d3f6659558f683e1d5cb97bb4bb497ea2534.zip
external_llvm-bf23d3f6659558f683e1d5cb97bb4bb497ea2534.tar.gz
external_llvm-bf23d3f6659558f683e1d5cb97bb4bb497ea2534.tar.bz2
Add -disable-required-unwind-tables to tests
that need it (usually, grepping for some string found in unwind info) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49364 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC')
-rw-r--r--test/CodeGen/PowerPC/compare-fcmp-ord.ll2
-rw-r--r--test/CodeGen/PowerPC/reg-coalesce-simple.ll2
-rw-r--r--test/CodeGen/PowerPC/rotl-2.ll6
3 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/PowerPC/compare-fcmp-ord.ll b/test/CodeGen/PowerPC/compare-fcmp-ord.ll
index 6d4d3e99..fc770f9 100644
--- a/test/CodeGen/PowerPC/compare-fcmp-ord.ll
+++ b/test/CodeGen/PowerPC/compare-fcmp-ord.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep or | count 3
+; RUN: llvm-as < %s | llc -march=ppc32 -disable-required-unwind-tables | grep or | count 3
; This should produce one 'or' or 'cror' instruction per function.
define i32 @test(double %x, double %y) nounwind {
diff --git a/test/CodeGen/PowerPC/reg-coalesce-simple.ll b/test/CodeGen/PowerPC/reg-coalesce-simple.ll
index 2c301a9..e346413 100644
--- a/test/CodeGen/PowerPC/reg-coalesce-simple.ll
+++ b/test/CodeGen/PowerPC/reg-coalesce-simple.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep or
+; RUN: llvm-as < %s | llc -march=ppc32 -disable-required-unwind-tables | not grep or
%struct.foo = type { i32, i32, [0 x i8] }
diff --git a/test/CodeGen/PowerPC/rotl-2.ll b/test/CodeGen/PowerPC/rotl-2.ll
index ce7a24c..8336421 100644
--- a/test/CodeGen/PowerPC/rotl-2.ll
+++ b/test/CodeGen/PowerPC/rotl-2.ll
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep rlwinm | count 4
-; RUN: llvm-as < %s | llc -march=ppc32 | grep rlwnm | count 2
-; RUN: llvm-as < %s | llc -march=ppc32 | not grep or
+; RUN: llvm-as < %s | llc -march=ppc32 -disable-required-unwind-tables | grep rlwinm | count 4
+; RUN: llvm-as < %s | llc -march=ppc32 -disable-required-unwind-tables | grep rlwnm | count 2
+; RUN: llvm-as < %s | llc -march=ppc32 -disable-required-unwind-tables | not grep or
define i32 @rotl32(i32 %A, i8 %Amt) nounwind {
%shift.upgrd.1 = zext i8 %Amt to i32 ; <i32> [#uses=1]