Merging r259740:
[oota-llvm.git] / test / CodeGen / PowerPC / neg.ll
index 59e14dbd70503f377f8071f2da45e9a21ba645fd..c673912d2ef1e9f1bc2d79d13a9a8bf907f79fae 100644 (file)
@@ -1,6 +1,7 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep neg
+; RUN: llc < %s -march=ppc32 | grep neg
 
-int %test(int %X) {
-    %Y = sub int 0, %X
-       ret int %Y
+define i32 @test(i32 %X) {
+        %Y = sub i32 0, %X              ; <i32> [#uses=1]
+        ret i32 %Y
 }
+