Move a DenseMap's declaration outside of a loop, and just call
[oota-llvm.git] / test / Transforms / Inline / 2004-04-15-InlineDeletesCall.ll
index e1ecaed83ed09e486f7fe9eab9c11bd512657075..8a2f8e29edff17208c674c8df99926c1f87480af 100644 (file)
@@ -1,21 +1,20 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -inline -disable-output
+; RUN: llvm-as < %s | opt -inline -disable-output
 
 ; Inlining the first call caused the inliner function to delete the second
 ; call.  Then the inliner tries to inline the second call, which no longer
 ; exists.
 
-implementation
-
-internal void %Callee1() {
-       unwind
+define internal void @Callee1() {
+        unwind
 }
 
-void %Callee2() {
-       ret void
+define void @Callee2() {
+        ret void
 }
 
-void %caller() {
-       call void %Callee1()
-       call void %Callee2()
-       ret void
+define void @caller() {
+        call void @Callee1( )
+        call void @Callee2( )
+        ret void
 }
+