CS153/hw6/llprograms/call2.ll

11 lines
158 B
LLVM
Raw Normal View History

define i64 @foo(i64 %x) {
ret i64 %x
}
define i64 @main(i64 %argc, i8** %arcv) {
%1 = call i64 @foo(i64 17)
%2 = call i64 @foo(i64 19)
ret i64 %2
}