diff options
| author | choikwa <5455710+choikwa@users.noreply.github.com> | 2024-12-06 19:14:39 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-06 19:14:39 -0500 |
| commit | 509893b58ff444a6f080946bd368e9bde7668f13 (patch) | |
| tree | e6d2865409f656b1904d7f57ce5a9f2af29889fa /lldb/test/Shell/ScriptInterpreter/Python | |
| parent | afa2fbf87a8e3fff609fd325c938929c48e94280 (diff) | |
| download | llvm-509893b58ff444a6f080946bd368e9bde7668f13.zip llvm-509893b58ff444a6f080946bd368e9bde7668f13.tar.gz llvm-509893b58ff444a6f080946bd368e9bde7668f13.tar.bz2 | |
Reapply "[AMDGPU] prevent shrinking udiv/urem if either operand is in… (#118928)
… (SignedMax,UnsignedMax] (#116733)"
This reverts commit 905e831f8c8341e53e7e3adc57fd20b8e08eb999.
Handle signed and unsigned path differently in getDivNumBits. Using
computeKnownBits, this rejects shrinking unsigned div/rem if operands
exceed signed max since we know NumSignBits will be always 0.
Rebased and re-attempt after first one was reverted due to unrelated
failure in LibC (should be fixed by now I'm told).
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
