[RISCV] Update computeKnownBitsForTargetNode for FPCLASS.
authorJianjian GUAN <jacquesguan@me.com>
Thu, 29 Jun 2023 03:15:14 +0000 (11:15 +0800)
committerJianjian GUAN <jacquesguan@me.com>
Thu, 29 Jun 2023 06:13:01 +0000 (14:13 +0800)
commita09a19be5848547d894c31b4ac5da9878af76643
treea53f5b15a056ac1b4a97db4945585a419583a68a
parentd2640f596c4763596ab92dadbdd0477afae4190f
[RISCV] Update computeKnownBitsForTargetNode for FPCLASS.

The fclass instruction only set one of the low 10 bits.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D154040
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/float-intrinsics.ll