aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic
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
commitd73795f07eb0432db1fa3ee29c917a6018a44060 (patch)
tree588c4d27047ae68e68d5b878d0da00bba52aac21 /test/CodeGen/Generic
parent12bcb4be088c2c64fb7a8335bd1854631c0276cd (diff)
downloadexternal_llvm-d73795f07eb0432db1fa3ee29c917a6018a44060.zip
external_llvm-d73795f07eb0432db1fa3ee29c917a6018a44060.tar.gz
external_llvm-d73795f07eb0432db1fa3ee29c917a6018a44060.tar.bz2
Add a test case for PR15318 fixed in r177472
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177489 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Generic')
-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 0000000..a1aed0e
--- /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
+}