diff options
-rw-r--r-- | test/Other/2004-08-20-PackedControlFlow.ll | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/Other/2004-08-20-PackedControlFlow.ll b/test/Other/2004-08-20-PackedControlFlow.ll new file mode 100644 index 0000000000..71ac13bae9 --- /dev/null +++ b/test/Other/2004-08-20-PackedControlFlow.ll @@ -0,0 +1,23 @@ +; RUN: llvm-as < %s | llvm-dis | llvm-as + +%v4f = type <4 x float> + +%foo = uninitialized global %v4f +%bar = uninitialized global %v4f + +implementation ; Functions: + +void %main() { + br label %A +C: + store %v4f %t2, %v4f* %bar + ret void + +B: + %t2 = add %v4f %t0, %t0 + br label %C + +A: + %t0 = load %v4f* %foo + br label %B +} |