diff options
author | Arjun P <arjunpitchanathan@gmail.com> | 2022-07-11 11:34:10 +0100 |
---|---|---|
committer | Arjun P <arjunpitchanathan@gmail.com> | 2022-07-11 11:41:29 +0100 |
commit | c9035df2fad4da9ea75b9211b3a9b0a230925000 (patch) | |
tree | 565f8f88e679047f8d651b4d78ef97e5f33debd3 /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | |
parent | 9f57b65a272817752aa00e2fb94154e6eed1d0ec (diff) | |
download | llvm-c9035df2fad4da9ea75b9211b3a9b0a230925000.zip llvm-c9035df2fad4da9ea75b9211b3a9b0a230925000.tar.gz llvm-c9035df2fad4da9ea75b9211b3a9b0a230925000.tar.bz2 |
[MLIR][Presburger] introduce MPInt to support fast arbitrary precision in Presburger
This uses an int64_t-based fastpath for the common case and falls back to
SlowMPInt to handle the rare cases where larger numbers occur.
It uses `__builtin_*` for performance through the support in LLVM MathExtras.
Using this in the Presburger library results in a minor performance
*improvement* over any commit hash before sequence of patches
starting at d5e31cf38adfc2c240fb9717989792537cc9e819.
Reviewed By: Groverkss, ftynse
Differential Revision: https://reviews.llvm.org/D128811
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
0 files changed, 0 insertions, 0 deletions