Since vfclass intruction will only set one single bit in the result, so if we only want to check 1 fp class, we could use vmseq to do it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
---|---|---|
4465 | bool IsOneBitMask = isPowerOf2_32(TDCMask) |
bool IsOneBitMask = isPowerOf2_32(TDCMask)