projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Debug info: On ARM ensure that the data sections come before the"
[oota-llvm.git]
/
test
/
ExecutionEngine
/
hello2.ll
diff --git
a/test/ExecutionEngine/hello2.ll
b/test/ExecutionEngine/hello2.ll
index eaeb238ac05cb9243fbd6afaee266867cb74163e..155ed41d7ca6400e8865781e4c76f4bf18015b76 100644
(file)
--- a/
test/ExecutionEngine/hello2.ll
+++ b/
test/ExecutionEngine/hello2.ll
@@
-1,22
+1,18
@@
-; RUN:
llvm-as -f %s -o %t.bc
-;
RUN: lli %t.bc > /dev/null
+; RUN:
%lli %s > /dev/null
+;
XFAIL: arm
+@X = global i32 7 ; <i32*> [#uses=0]
+@msg = internal global [13 x i8] c"Hello World\0A\00" ; <[13 x i8]*> [#uses=1]
-%X = global int 7
-%msg = internal global [13 x sbyte] c"Hello World\0A\00"
+declare void @printf([13 x i8]*, ...)
-
-implementation
-
-declare void %printf([13 x sbyte]*)
-
-void %bar() {
- call void %printf([13 x sbyte]* %msg)
- ret void
+define void @bar() {
+ call void ([13 x i8]*, ...)* @printf( [13 x i8]* @msg )
+ ret void
}
}
-
int %
main() {
-
call void %bar(
)
-
ret int
0
+
define i32 @
main() {
+
call void @bar(
)
+
ret i32
0
}
}