================ @@ -34,6 +34,28 @@ using namespace llvm; #define DEBUG_TYPE "gcn-vopd-utils" +// Check if physical register from src<SrcIdx> operand of MI<CompIdx> matches +// register class constraints in corresponding VOPDOpc operand with name +// src/vsrc<SrcIdx><CompIdx>. +bool isValidVOPDSrc(const SIInstrInfo &TII, int VOPDOpc, unsigned CompIdx, ---------------- mbrkusanin wrote:
```suggestion static bool isValidVOPDSrc(const SIInstrInfo &TII, int VOPDOpc, unsigned CompIdx, ``` https://github.com/llvm/llvm-project/pull/196515 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
