summaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/v-split.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Generic/v-split.ll')
-rw-r--r--test/CodeGen/Generic/v-split.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/v-split.ll b/test/CodeGen/Generic/v-split.ll
new file mode 100644
index 000000000000..a3124924638f
--- /dev/null
+++ b/test/CodeGen/Generic/v-split.ll
@@ -0,0 +1,11 @@
+; RUN: llvm-as < %s | llc
+%f8 = type <8 x float>
+
+define void @test_f8(%f8 *%P, %f8* %Q, %f8 *%S) {
+ %p = load %f8* %P
+ %q = load %f8* %Q
+ %R = add %f8 %p, %q
+ store %f8 %R, %f8 *%S
+ ret void
+}
+