[PM] Port domtree to the new pass manager (at last).
[oota-llvm.git] / test / Assembler / 2002-08-15-ConstantExprProblem.ll
index d64775f9b4201a4a78356b65a3f0b59c1ce070f6..343a1044b9c9bf9700e1e0e410ca2e82038e8bbe 100644 (file)
@@ -1,17 +1,17 @@
-; RUN: llvm-as < %s -o /dev/null -f
+; RUN: llvm-as %s -o /dev/null
+; RUN: verify-uselistorder %s
 
-%.LC0 = internal global [12 x sbyte] c"hello world\00"
+@.LC0 = internal global [12 x i8] c"hello world\00"             ; <[12 x i8]*> [#uses=1]
 
-implementation   ; Functions:
-
-sbyte* %test() {
+define i8* @test() {
+; <label>:0
         br label %BB1
 
-BB1:                                    ;[#uses=2]
-        %ret = phi sbyte* [ getelementptr ([12 x sbyte]* %.LC0, long 0, long 0), %0 ], [ null, %BB2 ]
-        ret sbyte* %ret
+BB1:            ; preds = %BB2, %0
+        %ret = phi i8* [ getelementptr ([12 x i8]* @.LC0, i64 0, i64 0), %0 ], [ null, %BB2 ]          ; <i8*> [#uses=1]
+        ret i8* %ret
 
-BB2:
+BB2:            ; No predecessors!
         br label %BB1
 }