[llvm-branch-commits] [VE] Port LVLGen to NewPM (PR #237833)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Nov 1 21:07:22 PST 2026
================
@@ -47,15 +49,17 @@ int LVLGen::getVLIndex(unsigned Opcode) {
// returns a register holding a vector length. NoRegister is returned when
// this MI does not have a vector length.
-unsigned LVLGen::getVL(const MachineInstr &MI) {
- int Index = getVLIndex(MI.getOpcode());
+static unsigned getVL(const MachineInstr &MI, const TargetInstrInfo *TII) {
----------------
arsenm wrote:
```suggestion
static unsigned getVL(const MachineInstr &MI, const VEInstrInfo *TII) {
```
https://github.com/llvm/llvm-project/pull/237833
More information about the llvm-branch-commits
mailing list