summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/Transforms/InstSimplify/floating-point-compare.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Transforms/InstSimplify/floating-point-compare.ll b/llvm/test/Transforms/InstSimplify/floating-point-compare.ll
index 8e7523eb065..b1444bb5a1e 100644
--- a/llvm/test/Transforms/InstSimplify/floating-point-compare.ll
+++ b/llvm/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
OpenPOWER on IntegriCloud