projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
if we have a large GEP offset on a 32-bit or other target, make
[oota-llvm.git]
/
test
/
CodeGen
/
Generic
/
call-ret42.ll
diff --git
a/test/CodeGen/Generic/call-ret42.ll
b/test/CodeGen/Generic/call-ret42.ll
index 3501288ab4b59a974cadbe09167c20f88cb0ee2e..ac9bd9235794e16f08a83371055275ffdee57b0e 100644
(file)
--- a/
test/CodeGen/Generic/call-ret42.ll
+++ b/
test/CodeGen/Generic/call-ret42.ll
@@
-1,8
+1,10
@@
-int %foo(int %x) {
- ret int 42
+; RUN: llvm-as < %s | llc
+
+define i32 @foo(i32 %x) {
+ ret i32 42
}
-int %main() {
- %r = call int %foo(int 15)
-
ret int
%r
+define i32 @main() {
+ %r = call i32 @foo( i32 15 ) ; <i32> [#uses=1]
+
ret i32
%r
}