this test isn't useful since we added @ notation for globals.
[oota-llvm.git] / test / Assembler / 2002-08-15-ConstantExprProblem.ll
index d64775f9b4201a4a78356b65a3f0b59c1ce070f6..c6f434aff22510d111ca7e60fba25022e21e70e2 100644 (file)
@@ -1,17 +1,16 @@
 ; RUN: llvm-as < %s -o /dev/null -f
 
-%.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
 }