diff options
| author | Anton Afanasyev <anton.a.afanasyev@gmail.com> | 2021-09-07 13:16:55 +0300 |
|---|---|---|
| committer | Anton Afanasyev <anton.a.afanasyev@gmail.com> | 2021-09-10 20:29:08 +0300 |
| commit | 54d8ebbbfdb348a6d0354fe7909d9ab146dada5b (patch) | |
| tree | 0a26e713243dda58bde8716f62fa39f5011347ae /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | ea7b2c147fefece043f35d150652d50357250e96 (diff) | |
[AggressiveInstCombine] Add `udiv` and `urem` instrs to TruncInstCombine DAG
Add `udiv` and `urem` instructions to the DAG post-dominated by `trunc`,
allowing TruncInstCombine to reduce bitwidth of expressions containing these
instructions. It is sufficient to require that all truncated bits of both
operands are zeros: https://alive2.llvm.org/ce/z/yiithn
(`urem` case is identical).
Differential Revision: https://reviews.llvm.org/D109515
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
