[llvm] [ValueTracking] Fix assertion failure when `computeKnownFPClass` returns fcNone (PR #92355)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Thu May 16 00:41:10 PDT 2024
================
@@ -1126,7 +1126,8 @@ static void computeKnownBitsFromOperator(const Operator *I,
KnownFPClass Result = computeKnownFPClass(V, fcAllFlags, Depth + 1, Q);
FPClassTest FPClasses = Result.KnownFPClasses;
- if (Result.isKnownNever(fcNormal | fcSubnormal | fcNan)) {
+ if (FPClasses != fcNone &&
----------------
dtcxzyw wrote:
Done.
https://github.com/llvm/llvm-project/pull/92355
More information about the llvm-commits
mailing list