According to the RFC [0], this review contains the clang parts of large integer divison for _BitInt.
It contains the following parts:
- Driver: Gnu, MinGW: Link libbitint when available
- Add -fexperimental_max_bitint_width=N
Differential D122234
[clang] Link libbitint for large division of _BitInt mgehre-amd on Mar 22 2022, 8:24 AM. Authored by
Details
According to the RFC [0], this review contains the clang parts of large integer divison for _BitInt. It contains the following parts:
Diff Detail
Event Timeline
Comment Actions
Comment Actions This looks generally correct to me, but precommit CI is currently failing with a relevant issue (what a nice change of pace): Failed Tests (1): Clang :: Driver/linux-ld.c
Comment Actions I split the introduction of -fexperimental-max-bitint-width into https://reviews.llvm.org/D127287 because there is still discussion about the bitint libraries in the backend PRs. Comment Actions Instead of linking to libbitint, I instead created a backend pass to transform div/rem instructions: https://reviews.llvm.org/D130076 |
So we get the return type correct? (I doubt this matters.)