summaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/2008-05-22-IDivVector.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/InstCombine/2008-05-22-IDivVector.ll')
-rw-r--r--test/Transforms/InstCombine/2008-05-22-IDivVector.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/2008-05-22-IDivVector.ll b/test/Transforms/InstCombine/2008-05-22-IDivVector.ll
new file mode 100644
index 0000000..f7ba99c
--- /dev/null
+++ b/test/Transforms/InstCombine/2008-05-22-IDivVector.ll
@@ -0,0 +1,6 @@
+; RUN: opt < %s -instcombine -disable-output
+
+define <3 x i8> @f(<3 x i8> %i) {
+ %A = sdiv <3 x i8> %i, %i
+ ret <3 x i8> %A
+}