aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2022-08-16 16:11:37 -0700
committerCraig Topper <craig.topper@sifive.com>2022-08-16 16:40:53 -0700
commitd8cdd78b6c04fb91ba5478b619d5076bc6868ebc (patch)
treea0837ba45afc4368a10a18348d6a9d037dcdf56f /lldb/source/Commands/CommandObjectThread.cpp
parenta7a1be11e69d83d6bc15ff5909dd1f1bff3fed7c (diff)
downloadllvm-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