1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/MC/RISCV
Craig Topper a2254d3fcc [RISCV] Teach RISCVMatInt about cases where it can use LUI+SLLI to replace LUI+ADDI+SLLI for large constants.
If we need to shift left anyway we might be able to take advantage
of LUI implicitly shifting its immediate left by 12 to cover part
of the shift. This allows us to use more bits of the LUI immediate
to avoid an ADDI.

isDesirableToCommuteWithShift now considers compressed instruction
opportunities when deciding if commuting should be allowed.

I believe this is the same or similar to one of the optimizations
from D79492.

Reviewed By: luismarques, arcbbb

Differential Revision: https://reviews.llvm.org/D105417
2021-07-20 09:22:06 -07:00
..
rvv
align.s
attribute-arch.s
attribute-with-insts.s
attribute-with-option.s
attribute.s
cfi-regs-invalid.s
cfi-regs-valid.s
cnop.s
compress-cjal.s
compress-debug-info.s
compress-rv32b.s
compress-rv32d.s
compress-rv32f.s
compress-rv32i.s
compress-rv64b.s
compress-rv64i.s
compressed-relocations.s
csr-aliases.s
data-directives-invalid.s
data-directives-valid.s
debug-valid.s
deprecated-csr-names.s
elf-flags.s
elf-header.s
empty-string.s
expressions.s
fde-reloc.s
fixups-compressed.s
fixups-diagnostics.s
fixups-expr.s
fixups-invalid.s
fixups.s
function-call-invalid.s
function-call.s
hilo-constaddr-expr.s
hilo-constaddr.s
invalid-attribute.s
invalid-instruction-spellcheck.s
linker-relaxation.s
lit.local.cfg
lla-invalid.s
machine-csr-names-invalid.s
machine-csr-names.s
mattr-invalid-combination.s
numeric-reg-names-d.s
numeric-reg-names-f.s
numeric-reg-names.s
option-invalid.s
option-mix.s
option-nopic.s
option-pic.s
option-pushpop.s
option-relax.s
option-rvc.s
pcrel-fixups.s
pcrel-lo12-invalid.s
priv-invalid.s
priv-valid.s
pseudo-jump-invalid.s
pseudo-jump.s
reloc-addend.s
reloc-directive-err.s
reloc-directive.s
relocations.s
rv32-machine-csr-names.s
rv32-relaxation.s
rv32-user-csr-names.s
rv32a-invalid.s
rv32a-valid.s
rv32b-aliases-valid.s
rv32c-aliases-valid.s
rv32c-fuzzed-invalid.s
rv32c-invalid.s
rv32c-only-valid.s
rv32c-valid.s
rv32d-invalid.s
rv32d-valid.s
rv32dc-invalid.s
rv32dc-valid.s
rv32e-invalid.s
rv32e-valid.s
rv32f-invalid.s
rv32f-valid.s
rv32fc-aliases-valid.s
rv32fc-invalid.s
rv32fc-valid.s
rv32i-aliases-invalid.s
rv32i-aliases-valid.s
rv32i-invalid.s
rv32i-valid.s
rv32m-invalid.s
rv32m-valid.s
rv32zba-invalid.s
rv32zba-valid.s
rv32zbb-invalid.s
rv32zbb-valid.s
rv32zbbp-invalid.s
rv32zbbp-only-valid.s
rv32zbbp-valid.s
rv32zbc-invalid.s
rv32zbc-valid.s
rv32zbe-invalid.s
rv32zbe-valid.s
rv32zbf-invalid.s
rv32zbf-valid.s
rv32zbp-invalid.s
rv32zbp-only-valid.s
rv32zbp-valid.s
rv32zbproposedc-invalid.s
rv32zbproposedc-valid.s
rv32zbr-invalid.s
rv32zbr-valid.s
rv32zbs-invalid.s
rv32zbs-valid.s
rv32zbt-invalid.s
rv32zbt-valid.s
rv32zfh-invalid.s
rv32zfh-valid.s
rv64-machine-csr-names.s
rv64-relax-all.s
rv64-relaxation.s
rv64-user-csr-names.s
rv64a-aliases-valid.s
rv64a-invalid.s
rv64a-valid.s
rv64b-aliases-valid.s
rv64c-aliases-valid.s
rv64c-hints-valid.s
rv64c-invalid.s
rv64c-valid.s
rv64d-aliases-valid.s
rv64d-invalid.s
rv64d-valid.s
rv64dc-valid.s
rv64f-aliases-valid.s
rv64f-invalid.s
rv64f-valid.s
rv64i-aliases-invalid.s
rv64i-aliases-valid.s
rv64i-invalid.s
rv64i-pseudos.s
rv64i-valid.s
rv64m-valid.s
rv64zba-invalid.s
rv64zba-valid.s
rv64zbb-invalid.s
rv64zbb-valid.s
rv64zbbp-invalid.s
rv64zbbp-valid.s
rv64zbe-invalid.s
rv64zbe-valid.s
rv64zbf-invalid.s
rv64zbf-valid.s
rv64zbm-invalid.s
rv64zbm-valid.s
rv64zbp-invalid.s
rv64zbp-valid.s
rv64zbproposedc-invalid.s
rv64zbproposedc-valid.s
rv64zbr-invalid.s
rv64zbr-valid.s
rv64zbs-invalid.s
rv64zbs-valid.s
rv64zbt-invalid.s
rv64zbt-valid.s
rv64zfh-invalid.s
rv64zfh-valid.s
rva-aliases-invalid.s
rva-aliases-valid.s
rvc-aliases-valid.s
rvc-hints-invalid.s
rvc-hints-valid.s
rvd-aliases-valid.s
rvd-pseudos.s
rvdc-aliases-valid.s
rvf-aliases-valid.s
rvf-pseudos.s
rvf-user-csr-names.s
rvi-aliases-valid.s
rvi-alternate-abi-names.s
rvi-pseudos-invalid.s
rvi-pseudos.s
rvv-user-csr-names.s
rvzfh-aliases-valid.s
rvzfh-pseudos.s
scoped-relaxation.s
supervisor-csr-names.s
tail-call-invalid.s
tail-call.s
target-abi-invalid.s
target-abi-valid.s
user-csr-names-invalid.s
user-csr-names.s