aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2008-08-17-UComiCodeGenBug.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2008-08-17-UComiCodeGenBug.ll')
-rw-r--r--test/CodeGen/X86/2008-08-17-UComiCodeGenBug.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2008-08-17-UComiCodeGenBug.ll b/test/CodeGen/X86/2008-08-17-UComiCodeGenBug.ll
new file mode 100644
index 0000000..32f6ca0
--- /dev/null
+++ b/test/CodeGen/X86/2008-08-17-UComiCodeGenBug.ll
@@ -0,0 +1,9 @@
+; RUN: llc < %s -mtriple=x86_64-apple-darwin | grep movzbl
+
+define i32 @foo(<4 x float> %a, <4 x float> %b) nounwind {
+entry:
+ tail call i32 @llvm.x86.sse.ucomige.ss( <4 x float> %a, <4 x float> %b ) nounwind readnone
+ ret i32 %0
+}
+
+declare i32 @llvm.x86.sse.ucomige.ss(<4 x float>, <4 x float>) nounwind readnone