Similar to D93365, but for floating point. No need for special ISD opcodes though. We can directly isel these from intrinsics. I had to use anyfloat_ty instead of anyvector_ty in the intrinsics to make LLVMVectorElementType not crash when imported into the -gen-dag-isel tablegen backend.
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td | ||
---|---|---|
1378 | Is this the opposite of ToFPR32? Should we thus define FromFPR32? At any rate we can presumably defvar inst = !cast<Instruction>... to reduce code duplication. |
Comment Actions
Use defvar to simplify code.
Not sure if makes sense to add FromFPR32. This might be the only instruction that goes that direction.
Is this the opposite of ToFPR32? Should we thus define FromFPR32? At any rate we can presumably defvar inst = !cast<Instruction>... to reduce code duplication.