[llvm] [RISCV] Separate the analysis part of RISCVInsertVSETVLI. (PR #149574)

Mikhail Gudim via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 22 09:37:54 PDT 2025


mgudim wrote:

> > Actually, nvm, sorry. For my purposes I don't really need to use this to see what VConfig reaches a particular instruction. I wil use RDA for that.
> > I do need the api which says which vconfig is compatible with given instruction
> 
> Does that mean we still need to split out the analysis pass from RISCVInsertVSETVLI? Do you have a rough draft to share of how this would look like plugged into #146971

This is how I imagine it will work:

[RISCVVTypeRegDepMutation.cpp.zip](https://github.com/user-attachments/files/21371753/RISCVVTypeRegDepMutation.cpp.zip)


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


More information about the llvm-commits mailing list