[PATCH] D107581: [LegalizeTypes] Add a simple expansion for SMULO when a libcall isn't available.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 5 19:10:19 PDT 2021
craig.topper added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp:4053
+ DAG.getSetCC(dl, N->getValueType(1), MulHi, SRA, ISD::SETNE);
+ SplitInteger(MulLo, Lo, Hi);
+ ReplaceValueWith(SDValue(N, 1), Overflow);
----------------
pengfei wrote:
> Seems `Lo` and `Hi` are not used?
They are output references passed to this function see line 3969.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107581/new/
https://reviews.llvm.org/D107581
More information about the llvm-commits
mailing list