================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to