1 ; RUN: llvm-as < %s | llvm-dis > %t1.ll
2 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3 ; RUN: diff %t1.ll %t2.ll
5 define fastcc void @foo() {
9 define coldcc void @bar() {
10 call fastcc void @foo( )
14 define void @structret({ i8 }* sret %P) {
15 call void @structret( { i8 }* sret %P )
23 define coldcc void @bar2() {
24 call fastcc void @foo( )
28 define cc42 void @bar3() {
29 invoke fastcc void @foo( )
30 to label %Ok unwind label %U
36 %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
38 resume { i8*, i32 } %exn
42 call cc42 void @bar( )
43 invoke cc42 void @bar3( )
44 to label %Ok unwind label %U
50 %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
52 resume { i8*, i32 } %exn
55 declare i32 @__gxx_personality_v0(...)