From d73795f07eb0432db1fa3ee29c917a6018a44060 Mon Sep 17 00:00:00 2001 From: Hao Liu Date: Wed, 20 Mar 2013 06:18:06 +0000 Subject: [PATCH] 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 --- test/CodeGen/Generic/2013-03-20-APFloatCrash.ll | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/CodeGen/Generic/2013-03-20-APFloatCrash.ll 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 00000000000..a1aed0e3a4b --- /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 +}