aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/2013-03-20-APFloatCrash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Generic/2013-03-20-APFloatCrash.ll')
-rw-r--r--test/CodeGen/Generic/2013-03-20-APFloatCrash.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/2013-03-20-APFloatCrash.ll b/test/CodeGen/Generic/2013-03-20-APFloatCrash.ll
new file mode 100644
index 0000000000..a1aed0e3a4
--- /dev/null
+++ b/test/CodeGen/Generic/2013-03-20-APFloatCrash.ll
@@ -0,0 +1,7 @@
+; RUN: llc < %s
+
+define internal i1 @f(float %s) {
+entry:
+ %c = fcmp ogt float %s, 0x41EFFFFFE0000000
+ ret i1 %c
+}