[all-commits] [llvm/llvm-project] 46d1f3: [RISCV][InsertSETVTLI] Handle large immediates in ...
Philip Reames via All-commits
all-commits at lists.llvm.org
Thu Dec 14 07:36:20 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 46d1f308824909b550b042c926a9c1e974cf2454
https://github.com/llvm/llvm-project/commit/46d1f308824909b550b042c926a9c1e974cf2454
Author: Philip Reames <preames at rivosinc.com>
Date: 2023-12-14 (Thu, 14 Dec 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll
Log Message:
-----------
[RISCV][InsertSETVTLI] Handle large immediates in backwards walk (#75409)
When doing our backwards walk, we were not handling the case where the
AVL was defined by a register whose definition was an ADDI xN, x0,
<imm>. Doing so (as we already do in the forward pass) allows us to
prune a few more transitions.
More information about the All-commits
mailing list