llvm/llvm-project
View on GitHub[InstCombiner] foldIntrinsicIsFPClass - incorrect submasking of FPClassTest masks
Open
#189949 opened on Apr 1, 2026
floating-pointgood first issuellvm:instcombine
Description
As mentioned here when creating the DAG equivalent: https://github.com/llvm/llvm-project/pull/189944#discussion_r3021637130
We shouldn't be looking for equality, we should be testing that they are a subset of the known classes: