blob: b3380ed8a43bea9297351bc2846934e608799149 [file] [log] [blame]
Reid Spencerd7c2c2f2006-12-02 20:34:08 +00001; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f
Tanya Lattnere7e3f2e2004-11-06 22:07:09 +00002
Chris Lattner657882c2002-08-15 17:04:40 +00003%.LC0 = internal global [12 x sbyte] c"hello world\00"
4
5implementation ; Functions:
6
7sbyte* %test() {
8 br label %BB1
9
10BB1: ;[#uses=2]
Chris Lattner42289a32003-03-06 19:59:08 +000011 %ret = phi sbyte* [ getelementptr ([12 x sbyte]* %.LC0, long 0, long 0), %0 ], [ null, %BB2 ]
Chris Lattner657882c2002-08-15 17:04:40 +000012 ret sbyte* %ret
13
14BB2:
15 br label %BB1
16}
17