diff options
author | Jessica Paquette <jpaquette@apple.com> | 2020-11-10 14:12:19 -0800 |
---|---|---|
committer | Jessica Paquette <jpaquette@apple.com> | 2020-11-11 09:26:03 -0800 |
commit | c42053f79b6c25154345b1c10c7b7c743e480698 (patch) | |
tree | d61981a08eb50160c3905f38c2c3e057cf5cdb01 /lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp | |
parent | 20de1822466e87c137b2369d8601b0f4c575981b (diff) | |
download | llvm-c42053f79b6c25154345b1c10c7b7c743e480698.zip llvm-c42053f79b6c25154345b1c10c7b7c743e480698.tar.gz llvm-c42053f79b6c25154345b1c10c7b7c743e480698.tar.bz2 |
[AArch64][GlobalISel] Select arith extended add/sub in manual selection code
The manual selection code for add/sub was not checking if it was possible to
fold in shifts + extends (the *rx opcode variants).
As a result, we could never select things like
```
cmp x1, w0, uxtw #2
```
Because we don't import any patterns for compares.
This adds support for the arithmetic shifted register forms and updates tests
for instructions selected using `emitADD`, `emitADDS`, and `emitSUBS`.
This is a 0.1% geomean code size improvement on SPECINT2000 at -Os.
Differential Revision: https://reviews.llvm.org/D91207
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp')
0 files changed, 0 insertions, 0 deletions