[llvm] [RISCV] Split out VSETVLIInfo AVL states to be more explicit (PR #89964)

Piyou Chen via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 22:48:14 PDT 2024


BeMg wrote:

Inside `bool RISCVInsertVSETVLI::needVSETVLIPHI`

Maybe the following statement could be dropped due to AVLReg must be Virtual now.
```
  Register AVLReg = Require.getAVLReg();
  if (!AVLReg.isVirtual())
    return true;
```

https://github.com/llvm/llvm-project/pull/89964


More information about the llvm-commits mailing list