diff options
author | Craig Topper <craig.topper@sifive.com> | 2022-08-16 16:11:37 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2022-08-16 16:40:53 -0700 |
commit | d8cdd78b6c04fb91ba5478b619d5076bc6868ebc (patch) | |
tree | a0837ba45afc4368a10a18348d6a9d037dcdf56f /lldb/source/Commands/CommandObjectThread.cpp | |
parent | a7a1be11e69d83d6bc15ff5909dd1f1bff3fed7c (diff) | |
download | llvm-d8cdd78b6c04fb91ba5478b619d5076bc6868ebc.zip llvm-d8cdd78b6c04fb91ba5478b619d5076bc6868ebc.tar.gz llvm-d8cdd78b6c04fb91ba5478b619d5076bc6868ebc.tar.bz2 |
[RISCV] Add test cases to show missed opportunity to fold (sub C, (xor (setcc), 1)). NFC
(sub C, (xori X, 1)) can be folded to (add X, C-1) if X is 0 or 1.
This would avoid the xori and in some cases remove an instruction
neede to materialize the constant.
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions