summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-24 00:12:50 +0000
committerChris Lattner <sabre@nondot.org>2006-05-24 00:12:50 +0000
commit5ecc0acfbbd677c9c9ef62b0f3f91c0c50c5236e (patch)
treed45b493e7d759d71f6c1857944fa573b42a1600e /test
parent573401237578297310a6be764805b8dfad702938 (diff)
downloadllvm-5ecc0acfbbd677c9c9ef62b0f3f91c0c50c5236e.tar.gz
llvm-5ecc0acfbbd677c9c9ef62b0f3f91c0c50c5236e.tar.bz2
llvm-5ecc0acfbbd677c9c9ef62b0f3f91c0c50c5236e.tar.xz
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28444 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-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) {