[llvm] [KnownFPClass] Refine known classes for `KnownFPClass::bitcast` (PR #215708)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 13 08:53:59 PDT 2026


ZERICO2005 wrote:

To my knowledge, `KnownFPClass::bitcast` would only be able to generate `fcNone` if and only if `const KnownBits &Bits` has conflicting bits. Would it be valuable to add an assertion at the top of the function (asserting that no bits conflict) or at the bottom of the function (asserting that the result is not `fcNone`, or I am fine to not have any assertions in the `KnownFPClass::bitcast` to handle conflicting bits?

https://github.com/llvm/llvm-project/pull/215708


More information about the llvm-commits mailing list