Add nounwinds.
authorDan Gohman <gohman@apple.com>
Tue, 19 Jan 2010 21:51:51 +0000 (21:51 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 19 Jan 2010 21:51:51 +0000 (21:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93919 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/loop-strength-reduce4.ll
test/CodeGen/X86/stride-reuse.ll
test/Transforms/LoopStrengthReduce/change-compare-stride-trickiness-0.ll
test/Transforms/LoopStrengthReduce/related_indvars.ll

index 87b606f558a45c932a1f2ad017669f87531e55f3..07e46eca75e9f4f5ad8474ab429b6c7950c905f4 100644 (file)
@@ -4,7 +4,7 @@
 @state = external global [0 x i32]             ; <[0 x i32]*> [#uses=4]
 @S = external global [0 x i32]         ; <[0 x i32]*> [#uses=4]
 
-define i32 @foo() {
+define i32 @foo() nounwind {
 entry:
        br label %bb
 
index a99a9c95a4cc9cf7446a0d0b567b78868bf4a73c..5cbd895250a672b094e3e2e56b49c1543e2af6f0 100644 (file)
@@ -5,7 +5,7 @@
 @A = external global [1000 x float], align 32
 @P = external global [1000 x i32], align 32
 
-define void @foo(i32 %m) {
+define void @foo(i32 %m) nounwind {
 entry:
        %tmp1 = icmp sgt i32 %m, 0
        br i1 %tmp1, label %bb, label %return
index 56a89f6502b9f055207a95be69d19a9776c34318..36941ad6d36c02f2c5eccffb56b04493dbce9dd1 100644 (file)
@@ -6,7 +6,7 @@ target triple = "x86_64-apple-darwin9"
 ; happens before the relevant use, so the comparison stride can't be
 ; easily changed.
 
-define void @foo() {
+define void @foo() nounwind {
 entry:
        br label %loop
 
index 24943788076963aafb764f31d31c337fae802bb8..12942bf10a5a53031730238f314b646a01fdb1f6 100644 (file)
@@ -7,7 +7,7 @@
 ;     *D++ = F;
 ; }
 
-define void @foo(double* %D, double* %E, double %F) {
+define void @foo(double* %D, double* %E, double %F) nounwind {
 entry:
        %tmp.24 = icmp eq double* %D, %E                ; <i1> [#uses=1]
        br i1 %tmp.24, label %return, label %no_exit