Merging r259740:
[oota-llvm.git] / test / CodeGen / PowerPC / neg.ll
index 7119f6c0da9dee159ae814975444e2b463775a95..c673912d2ef1e9f1bc2d79d13a9a8bf907f79fae 100644 (file)
@@ -1,6 +1,7 @@
-; RUN: llvm-upgrade < %s | llvm-as | 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
 }
+