https://github.com/ElvisWang123 approved this pull request. LGTM. Just for curious, do you know which part of cost for `is_fpclass` make the type-based different from value-based query? https://github.com/llvm/llvm-project/pull/147677