projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simplify some getNode calls.
[oota-llvm.git]
/
test
/
CodeGen
/
SPARC
/
basictest.ll
diff --git
a/test/CodeGen/SPARC/basictest.ll
b/test/CodeGen/SPARC/basictest.ll
index 274f2ce80b12b08cfc1c9ea7f7414f74c1bd7c1a..5c3e07543b9dab7ccedd189c44eec69dab041cd7 100644
(file)
--- a/
test/CodeGen/SPARC/basictest.ll
+++ b/
test/CodeGen/SPARC/basictest.ll
@@
-1,6
+1,6
@@
; RUN: llvm-as < %s | llc -march=sparc
-
int %test(int
%X) {
- %tmp.1 = add i
nt %X, 1 ; <int> [#uses=1]
- ret i
nt
%tmp.1
+
define i32 @test(i32
%X) {
+ %tmp.1 = add i
32 %X, 1
+ ret i
32
%tmp.1
}