2004-08-20-PackedControlFlow.ll 559 B

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