================
@@ -73,6 +104,8 @@ bool llvm::checkVOPDRegConstraints(const SIInstrInfo &TII,
if (!TRI->isVectorRegister(MRI, Src0.getReg())) {
UniqueScalarRegs.insert(Src0.getReg());
}
+ if (!isValidVOPDSrc(TII, VOPDOpc, CompIdx, 0, Src0.getReg()))
+ return false;
----------------
petar-avramovic wrote:
new check (both VOPD and VOPD3)
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