Add a test case for PR15318 fixed in r177472
authorHao Liu <Hao.Liu@arm.com>
Wed, 20 Mar 2013 06:18:06 +0000 (06:18 +0000)
committerHao Liu <Hao.Liu@arm.com>
Wed, 20 Mar 2013 06:18:06 +0000 (06:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177489 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/Generic/2013-03-20-APFloatCrash.ll [new file with mode: 0644]

diff --git a/test/CodeGen/Generic/2013-03-20-APFloatCrash.ll b/test/CodeGen/Generic/2013-03-20-APFloatCrash.ll
new file mode 100644 (file)
index 0000000..a1aed0e
--- /dev/null
@@ -0,0 +1,7 @@
+; RUN: llc < %s
+
+define internal i1 @f(float %s) {
+entry:
+  %c = fcmp ogt float %s, 0x41EFFFFFE0000000
+  ret i1 %c
+}