summaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/vector.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Generic/vector.ll')
-rw-r--r--test/CodeGen/Generic/vector.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/vector.ll b/test/CodeGen/Generic/vector.ll
index 720b5c3d9f..34a3b2444b 100644
--- a/test/CodeGen/Generic/vector.ll
+++ b/test/CodeGen/Generic/vector.ll
@@ -56,6 +56,15 @@ void %test_fmul(%f8 *%P, %f8* %Q, %f8 *%S) {
store %f8 %R, %f8 *%S
ret void
}
+
+void %test_div(%f8 *%P, %f8* %Q, %f8 *%S) {
+ %p = load %f8* %P
+ %q = load %f8* %Q
+ %R = div %f8 %p, %q
+ store %f8 %R, %f8 *%S
+ ret void
+}
+
;;; TEST VECTOR CONSTRUCTS
void %test_cst(%f4 *%P, %f4 *%S) {