aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Signposts.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-02-24 16:07:32 -0800
committerCraig Topper <craig.topper@sifive.com>2021-02-24 16:07:33 -0800
commitefcdd598b766e764a7efb48b49e9ec8b0a590510 (patch)
treefb92645d0d4476ebe1c7e61eb751be13761c9fb4 /llvm/lib/Support/Signposts.cpp
parent9bde29629dfec420dbfbfe550073415452ae81f9 (diff)
downloadllvm-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