[llvm] [Analysis] Adding convert_from_arbitrary_fp support in computeKnownFPClass. (PR #208585)

Chirag Patel via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 12 10:20:36 PDT 2026


ChiragPatel8 wrote:

> A correctness issue was identified by [llvm-hackme](https://github.com/dtcxzyw/llvm-hackme). Please see the [issue comment](https://github.com/llvm/llvm-project/pull/208585#issuecomment-4951528099) for details.

Yes, another reviewer mentioned it the same. If the unsupported format is used, the lookup returns nullptr that the code is dereferencing. But I am not sure if computeKnownFPclass should segfault or continue gracefully for unsupported format. I think it should error.

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


More information about the llvm-commits mailing list