summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2009-07-07-SplitICmp.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2009-07-07-SplitICmp.ll')
-rw-r--r--test/CodeGen/X86/2009-07-07-SplitICmp.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2009-07-07-SplitICmp.ll b/test/CodeGen/X86/2009-07-07-SplitICmp.ll
new file mode 100644
index 0000000..eb9378b
--- /dev/null
+++ b/test/CodeGen/X86/2009-07-07-SplitICmp.ll
@@ -0,0 +1,8 @@
+; RUN: llc < %s -march=x86 -disable-mmx
+
+define void @test2(<2 x i32> %A, <2 x i32> %B, <2 x i32>* %C) nounwind {
+ %D = icmp sgt <2 x i32> %A, %B
+ %E = zext <2 x i1> %D to <2 x i32>
+ store <2 x i32> %E, <2 x i32>* %C
+ ret void
+}
OpenPOWER on IntegriCloud