aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/v-binop-widen.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/v-binop-widen.ll')
-rw-r--r--test/CodeGen/X86/v-binop-widen.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGen/X86/v-binop-widen.ll b/test/CodeGen/X86/v-binop-widen.ll
new file mode 100644
index 000000000000..3bee7007749c
--- /dev/null
+++ b/test/CodeGen/X86/v-binop-widen.ll
@@ -0,0 +1,12 @@
+; RUN: llc -march=x86 -mattr=+sse < %s | FileCheck %s
+; CHECK: divss
+; CHECK: divps
+; CHECK: divps
+
+%vec = type <9 x float>
+define %vec @vecdiv( %vec %p1, %vec %p2)
+{
+ %result = fdiv %vec %p1, %p2
+ ret %vec %result
+}
+