[PATCH] D125159: [CodeGen] Fix ConvertNodeToLibcall for STRICT_FPOWI
Xiang Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 8 18:29:36 PDT 2022
xiangzhangllvm added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:4102
// Some targets don't have a powi libcall; use pow instead.
SDValue Exponent = DAG.getNode(ISD::SINT_TO_FP, SDLoc(Node),
Node->getValueType(0),
----------------
pengfei wrote:
> xiangzhangllvm wrote:
> > pengfei wrote:
> > > We should generate `STRICT_SINT_TO_FP` and `STRICT_FPOWI` for strict node and push the output chain into `Results`.
> > Here is already STRICT_FPOWI, and the Target has no libcall for STRICT_FPOWI
> Oh, I meant `STRICT_FPOW`...
En., Make sense : )
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125159/new/
https://reviews.llvm.org/D125159
More information about the llvm-commits
mailing list