diff options
author | Michael Jones <michaelrj@google.com> | 2023-03-29 10:42:23 -0700 |
---|---|---|
committer | Michael Jones <michaelrj@google.com> | 2023-03-29 13:02:40 -0700 |
commit | 5ce83caba59d7c470e1a12a8d6ef63c33d98e177 (patch) | |
tree | afad4590f7bf7c3a514f1fa041a288ffe4769ff3 /llvm/lib/CodeGen/DFAPacketizer.cpp | |
parent | f5e63f8fc9f492944b8432d80c1c49051a7d600a (diff) | |
download | llvm-5ce83caba59d7c470e1a12a8d6ef63c33d98e177.zip llvm-5ce83caba59d7c470e1a12a8d6ef63c33d98e177.tar.gz llvm-5ce83caba59d7c470e1a12a8d6ef63c33d98e177.tar.bz2 |
[libc] fix strtointeger behavior on max values
Previously the check to just return MAX or MIN used the caclulated
number being the maximum absolute value. This was right in every case
except for an unsigned conversion being passed its maximum value with a
negative sign on the front. This should return -MAX, but was returning
just MAX.
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D147171
Diffstat (limited to 'llvm/lib/CodeGen/DFAPacketizer.cpp')
0 files changed, 0 insertions, 0 deletions