aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2025-09-05 08:25:48 +0800
committerGitHub <noreply@github.com>2025-09-05 00:25:48 +0000
commitdc2ed0043295a397d680db091c2033a51d21e32e (patch)
tree0403d11d1c9e2d3ff2b8c22175605b09b9978027 /llvm/lib/CodeGen/AsmPrinter
parent4e5e65e55dc5a5ffc6e3db321df7f118e1c42d38 (diff)
downloadllvm-main.zip
llvm-main.tar.gz
llvm-main.tar.bz2
[RISCV] Handle non uimm5 VL constants in isVLKnownLE (#156639)HEADmain
If a VL operand is > 31 then it will be materialized into an ADDI $x0, imm. We can reason about it by peeking at the virtual register definition which allows RISCVVectorPeephole and RISCVVLOptimizer to catch more cases. There's a separate issue with RISCVVLOptimizer where the materialized immediate may not always dominate the instruction we want to reduce the VL of, but this is left to another patch.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
0 files changed, 0 insertions, 0 deletions