Add nounwinds.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93919 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2010-01-19 21:51:51 +00:00
parent 6449abfbc8
commit 8e1aa8edec
4 changed files with 4 additions and 4 deletions

View 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

View 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

View 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

View 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