aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2012-07-16-fp2ui-i1.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2012-07-16-fp2ui-i1.ll')
-rw-r--r--test/CodeGen/X86/2012-07-16-fp2ui-i1.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2012-07-16-fp2ui-i1.ll b/test/CodeGen/X86/2012-07-16-fp2ui-i1.ll
new file mode 100644
index 000000000000..17533a1e1649
--- /dev/null
+++ b/test/CodeGen/X86/2012-07-16-fp2ui-i1.ll
@@ -0,0 +1,12 @@
+; RUN: llc < %s -march=x86-64 -mcpu=corei7
+
+define void @autogen_SD3100() {
+BB:
+ %FC123 = fptoui float 0x40693F5D00000000 to i1
+ br i1 %FC123, label %V, label %W
+
+V:
+ ret void
+W:
+ ret void
+}