diff options
author | Liqin Weng <Liqin.Weng@streamcomputing.com> | 2022-03-29 14:46:17 +0800 |
---|---|---|
committer | Ben Shi <ben.shi@streamcomputing.com> | 2022-03-29 14:46:49 +0800 |
commit | d660c0d7938f415188277ced580eab24fc8e7809 (patch) | |
tree | 97a96671ad7a27852ae10a6469b13e43c101bdf1 /llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp | |
parent | 531458240765da66ede313f5d9fa80d0db82c48c (diff) | |
download | llvm-d660c0d7938f415188277ced580eab24fc8e7809.zip llvm-d660c0d7938f415188277ced580eab24fc8e7809.tar.gz llvm-d660c0d7938f415188277ced580eab24fc8e7809.tar.bz2 |
[RISCV] Optimize LI+SLT to SLTI+XORI for immediates in specific range
This transform will reduce one GPR.
Reviewed By: craig.topper, benshi001
Differential Revision: https://reviews.llvm.org/D122051
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp')
0 files changed, 0 insertions, 0 deletions