aboutsummaryrefslogtreecommitdiffstats
path: root/test/Other
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-08-20 08:34:27 +0000
committerChris Lattner <sabre@nondot.org>2004-08-20 08:34:27 +0000
commit0c97a62c88d516d3d0591fff39e1ec2a26d8cd72 (patch)
treebba6f955afed24624d97223847477930d782592c /test/Other
parent442729a6716fc55ebe11b60d73a1869babcddaf7 (diff)
downloadexternal_llvm-0c97a62c88d516d3d0591fff39e1ec2a26d8cd72.zip
external_llvm-0c97a62c88d516d3d0591fff39e1ec2a26d8cd72.tar.gz
external_llvm-0c97a62c88d516d3d0591fff39e1ec2a26d8cd72.tar.bz2
New testcase that the vector support does not work with yet.
This is also designed to make lowering a bitch :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15941 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Other')
-rw-r--r--test/Other/2004-08-20-PackedControlFlow.ll23
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 0000000..71ac13b
--- /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
+}