diff options
| author | Craig Topper <craig.topper@sifive.com> | 2020-11-04 09:59:14 -0800 |
|---|---|---|
| committer | Craig Topper <craig.topper@sifive.com> | 2020-11-04 09:59:14 -0800 |
| commit | 3701e33a2213f2b2307d805bd843656bafcb60cf (patch) | |
| tree | 759098d3388a555b91a3c451262679e9243270de /lldb/test/API/functionalities/plugins/python_os_plugin | |
| parent | 58adab34c4801e835bf1a55efbd1213b201660fb (diff) | |
[RISCV] Remove custom isel for (srl (shl val, 32), imm). Use pattern instead. NFCI
We don't need custom matching, we just a need a predicate to check
the immediate is greater than 32. We can use the existing ImmSub32
to adjust the immediate.
I've also used the new predicate in the other location that used
ImmSub32. I tried to create a test case where we would break without
the greater than 32 check on that pattern, but DAG combine defeated me.
Still seemed safer to have it.
Differential Revision: https://reviews.llvm.org/D90546
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin')
0 files changed, 0 insertions, 0 deletions
