diff options
author | Luis Marques <luismarques@lowrisc.org> | 2019-03-26 12:55:00 +0000 |
---|---|---|
committer | Luis Marques <luismarques@lowrisc.org> | 2019-03-26 12:55:00 +0000 |
commit | 614fd9d830ce1449d197fb16c4a656e65ca238a2 (patch) | |
tree | a45e3031a0318b68ac4ce6ac1f1b5e640f4dfe62 /lldb/source/Plugins/ScriptInterpreter/Python | |
parent | e24441aab03e393d591d9252612e8c0ac557b1c3 (diff) | |
download | bcm5719-llvm-614fd9d830ce1449d197fb16c4a656e65ca238a2.tar.gz bcm5719-llvm-614fd9d830ce1449d197fb16c4a656e65ca238a2.zip |
[RISCV] Improve codegen for icmp {ne,eq} with a constant
Adds two patterns to improve the codegen of GPR value comparisons with small
constants. Instead of first loading the constant into another register and then
doing an XOR of those registers, these patterns directly use the constant as an
XORI immediate.
llvm-svn: 356990
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions