[PATCH] D125760: [LegalizeTypes][VP] Add integer promotion support for vp.fptosi/vp.fptoui
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 17 10:17:02 PDT 2022
craig.topper added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp:686
+ } else {
+ if (NewOpc == ISD::VP_FPTOSI || NewOpc == ISD::VP_FPTOUI)
+ Res = DAG.getNode(NewOpc, dl, NVT, N->getOperand(0), N->getOperand(1),
----------------
Merge this `if` into the `else` above to have `else if`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125760/new/
https://reviews.llvm.org/D125760
More information about the llvm-commits
mailing list