summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorHao Liu <Hao.Liu@arm.com>2013-03-20 06:18:06 +0000
committerHao Liu <Hao.Liu@arm.com>2013-03-20 06:18:06 +0000
commita7521131da71c6f188b0493a78cf2d09d05952b8 (patch)
treedeaaa1d468e4b76be44bd3ccc2dbf1e20fa4b201 /llvm/test/CodeGen
parent2b7fe9fc93e093882b529bf94d4a3b30d8df3013 (diff)
downloadbcm5719-llvm-a7521131da71c6f188b0493a78cf2d09d05952b8.tar.gz
bcm5719-llvm-a7521131da71c6f188b0493a78cf2d09d05952b8.zip
Add a test case for PR15318 fixed in r177472
llvm-svn: 177489
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/Generic/2013-03-20-APFloatCrash.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Generic/2013-03-20-APFloatCrash.ll b/llvm/test/CodeGen/Generic/2013-03-20-APFloatCrash.ll
new file mode 100644
index 00000000000..a1aed0e3a4b
--- /dev/null
+++ b/llvm/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
+}
OpenPOWER on IntegriCloud