llvm.org GIT mirror llvm / f70cbb2
add some random nounwinds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97411 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 10 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
33
44 target triple = "powerpc-apple-darwin8"
55
6 define void @foo(i8** %X) {
6 define void @foo(i8** %X) nounwind {
77 entry:
88 %tmp = tail call i8* @llvm.returnaddress( i32 0 ) ; [#uses=1]
99 store i8* %tmp, i8** %X, align 4
33
44 @X = internal global i16 0 ; [#uses=2]
55
6 define void @foo() {
6 define void @foo() nounwind {
77 %tmp.0 = load i16* @X ; [#uses=1]
88 %tmp.3 = add i16 %tmp.0, 329 ; [#uses=1]
99 store i16 %tmp.3, i16* @X