[llvm] [X86][LegalizeDAG] FPOWI: promote f16 operand (PR #105775)

via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 26 01:52:05 PDT 2024


v01dXYZ wrote:

I was worried than another Opcode presented the same problem (ie with LegalizeAction defaulting to Expand and spawning an assert when LegalizeDAG fallthroughs to libcall convertion). But it seems FPOWI is special, that's the only float Opcode in `ConvertNodeToLibcall` that checks for the libcall existence and if it does not exist fallbacks to using `FPOW`.

I have a vocabulary question: in the strict terminology of Legalisation, *expand* means breaking up a complex operation using smaller types, should I rather think of it as an Instruction Expand ? 

https://github.com/llvm/llvm-project/pull/105775


More information about the llvm-commits mailing list