diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-02-24 16:07:32 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-02-24 16:07:33 -0800 |
commit | efcdd598b766e764a7efb48b49e9ec8b0a590510 (patch) | |
tree | fb92645d0d4476ebe1c7e61eb751be13761c9fb4 /llvm/lib/Support/Signposts.cpp | |
parent | 9bde29629dfec420dbfbfe550073415452ae81f9 (diff) | |
download | llvm-efcdd598b766e764a7efb48b49e9ec8b0a590510.zip llvm-efcdd598b766e764a7efb48b49e9ec8b0a590510.tar.gz llvm-efcdd598b766e764a7efb48b49e9ec8b0a590510.tar.bz2 |
[RISCV] Teach VSETVLI inserter to use VSETIVLI when possible.
We always create the VL operand using a register, but if we can
determine that it came from an ADDI X0, imm with a sufficiently
small immediate, we can use VSETIVLI.
Reviewed By: frasercrmck
Differential Revision: https://reviews.llvm.org/D97332
Diffstat (limited to 'llvm/lib/Support/Signposts.cpp')
0 files changed, 0 insertions, 0 deletions