Simplify some getNode calls.
[oota-llvm.git] / test / CodeGen / SPARC / basictest.ll
index 274f2ce80b12b08cfc1c9ea7f7414f74c1bd7c1a..5c3e07543b9dab7ccedd189c44eec69dab041cd7 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: llvm-as < %s | llc -march=sparc
 
-int %test(int %X) {
-       %tmp.1 = add int %X, 1          ; <int> [#uses=1]
-       ret int %tmp.1
+define i32 @test(i32 %X) {
+       %tmp.1 = add i32 %X, 1
+       ret i32 %tmp.1
 }