Refactoring fail.
[oota-llvm.git] / test / Transforms / SCCP / 2002-05-02-MissSecondInst.ll
index 24e99b19e39b03f806619069cdbc747d012a459d..bb5b51d1bbb192ec8ccc768428835d3b47da72b8 100644 (file)
@@ -1,7 +1,8 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -sccp | llvm-dis | not grep sub
+; RUN: opt < %s -sccp -S | not grep sub
 
-void %test3(int, int) {
-       add int 0, 0
-        sub int 0, 4
-        ret void
+define void @test3(i32, i32) {
+       add i32 0, 0            ; <i32>:3 [#uses=0]
+       sub i32 0, 4            ; <i32>:4 [#uses=0]
+       ret void
 }
+