Home | History | Annotate | Download | only in Other
      1 ; RUN: llvm-as < %s | llvm-dis | llvm-as > /dev/null
      2 
      3         %v4f = type <4 x float>
      4 @foo = external global %v4f             ; <%v4f*> [#uses=1]
      5 @bar = external global %v4f             ; <%v4f*> [#uses=1]
      6 
      7 define void @main() {
      8         br label %A
      9 
     10 C:              ; preds = %B
     11         store %v4f %t2, %v4f* @bar
     12         ret void
     13 
     14 B:              ; preds = %A
     15         %t2 = fadd %v4f %t0, %t0         ; <%v4f> [#uses=1]
     16         br label %C
     17 
     18 A:              ; preds = %0
     19         %t0 = load %v4f* @foo           ; <%v4f> [#uses=2]
     20         br label %B
     21 }
     22 
     23