From 7120b1dbea615ee1e747ce39ba598a08c67a02e0 Mon Sep 17 00:00:00 2001 From: Sanjay Patel Date: Sun, 15 Jul 2018 16:13:58 +0000 Subject: [PATCH] [InstSimplify] add fixme comment for PR37776; NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337129 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstSimplify/floating-point-compare.ll | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/Transforms/InstSimplify/floating-point-compare.ll b/test/Transforms/InstSimplify/floating-point-compare.ll index 8e7523eb065..b1444bb5a1e 100644 --- a/test/Transforms/InstSimplify/floating-point-compare.ll +++ b/test/Transforms/InstSimplify/floating-point-compare.ll @@ -266,6 +266,10 @@ define i1 @orderedLessZeroMinNum(float, float) { ret i1 %uge } +; FIXME: This is wrong. +; PR37776: https://bugs.llvm.org/show_bug.cgi?id=37776 +; exp() may return nan, leaving %1 as the unknown result, so we can't simplify. + define i1 @orderedLessZeroMaxNum(float, float) { ; CHECK-LABEL: @orderedLessZeroMaxNum( ; CHECK-NEXT: ret i1 true -- 2.50.1