[PATCH] D120329: [SelectionDAG] Emit calls to __divei4 and friends for division/remainder of large integers
Aaron Ballman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 11 04:26:51 PST 2022
aaron.ballman added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:2110
+ default:
+ LC = Call_IEXT;
+ break;
----------------
LuoYuanke wrote:
> Do we support bitsize that is no power of 2 (e.g., MVT::i1)? Should we check if the bit size exceed 128?
Yes, `_BitInt` can be of any width: https://godbolt.org/z/4zGfrosc7
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120329/new/
https://reviews.llvm.org/D120329
More information about the llvm-commits
mailing list