mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 20:29:53 +00:00
add some random nounwinds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97411 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a248e9cfcf
commit
f70cbb2d6a
@ -4,7 +4,7 @@
|
||||
|
||||
target triple = "powerpc-apple-darwin8"
|
||||
|
||||
define void @foo(i8** %X) {
|
||||
define void @foo(i8** %X) nounwind {
|
||||
entry:
|
||||
%tmp = tail call i8* @llvm.returnaddress( i32 0 ) ; <i8*> [#uses=1]
|
||||
store i8* %tmp, i8** %X, align 4
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
@X = internal global i16 0 ; <i16*> [#uses=2]
|
||||
|
||||
define void @foo() {
|
||||
define void @foo() nounwind {
|
||||
%tmp.0 = load i16* @X ; <i16> [#uses=1]
|
||||
%tmp.3 = add i16 %tmp.0, 329 ; <i16> [#uses=1]
|
||||
store i16 %tmp.3, i16* @X
|
||||
|
Loading…
Reference in New Issue
Block a user