Add nounwind.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 11 Nov 2009 07:11:02 +0000 (07:11 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 11 Nov 2009 07:11:02 +0000 (07:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86814 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/loop-strength-reduce2.ll
test/CodeGen/X86/loop-strength-reduce3.ll
test/CodeGen/X86/loop-strength-reduce5.ll
test/CodeGen/X86/loop-strength-reduce6.ll

index a1f38a7edc02862fd381f81d22dd4848bce9208c..9b53adb2a364acc4405634e090d2384dee7e44e0 100644 (file)
@@ -4,7 +4,7 @@
 
 @flags2 = internal global [8193 x i8] zeroinitializer, align 32                ; <[8193 x i8]*> [#uses=1]
 
-define void @test(i32 %k, i32 %i) {
+define void @test(i32 %k, i32 %i) nounwind {
 entry:
        %k_addr.012 = shl i32 %i, 1             ; <i32> [#uses=1]
        %tmp14 = icmp sgt i32 %k_addr.012, 8192         ; <i1> [#uses=1]
index e340edd650609f2255d1cbbfd4fe99a8f1ebe367..c45a37411194aeba09f6385b45e560cf520c3447 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: llc < %s -march=x86 | grep cmp | grep 240
 ; RUN: llc < %s -march=x86 | grep inc | count 1
 
-define i32 @foo(i32 %A, i32 %B, i32 %C, i32 %D) {
+define i32 @foo(i32 %A, i32 %B, i32 %C, i32 %D) nounwind {
 entry:
        %tmp2955 = icmp sgt i32 %C, 0           ; <i1> [#uses=1]
        br i1 %tmp2955, label %bb26.outer.us, label %bb40.split
index 4ec2a02992519ea8a283d4a9038ad07ee9538626..b07eeb6759a47298064aa43badb97520aa93a273 100644 (file)
@@ -3,7 +3,7 @@
 @X = weak global i16 0         ; <i16*> [#uses=1]
 @Y = weak global i16 0         ; <i16*> [#uses=1]
 
-define void @foo(i32 %N) {
+define void @foo(i32 %N) nounwind {
 entry:
        %tmp1019 = icmp sgt i32 %N, 0           ; <i1> [#uses=1]
        br i1 %tmp1019, label %bb, label %return
index 81da82ec3f7c0cb71b25d7c58a2fb9ca063523ae..bbafcf7cbc7f617347572d20cc2507a26dd73e3b 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: llc < %s -march=x86-64 | not grep inc
 
-define fastcc i32 @decodeMP3(i32 %isize, i32* %done) {
+define fastcc i32 @decodeMP3(i32 %isize, i32* %done) nounwind {
 entry:
        br i1 false, label %cond_next191, label %cond_true189