diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-01-25 09:35:14 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-01-25 10:47:22 -0800 |
commit | 239cfbccb0509da1a08d9e746706013b732e646b (patch) | |
tree | 635020c5f4086ef24941eddeda70f37c53d4536e /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 9d5095875754046972d8512d98194acf7f032e36 (diff) | |
download | llvm-239cfbccb0509da1a08d9e746706013b732e646b.zip llvm-239cfbccb0509da1a08d9e746706013b732e646b.tar.gz llvm-239cfbccb0509da1a08d9e746706013b732e646b.tar.bz2 |
[RISCV] Custom type legalize i8/i16 UDIV/UREM/SDIV on RV64 so we can use divuw/remuw/divw.
This makes our i8/i16 codegen more similar to the i32 codegen.
I've also added computeKnownBits support for DIVUW/REMUW so
that we can remove zero extending ANDs from the output. Without
this we end up turning DIVUW/REMUW back into DIVU/REMU via some
isel patterns.
Reviewed By: frasercrmck, luismarques
Differential Revision: https://reviews.llvm.org/D95322
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions