[llvm] [AMDGPU] Reject src1 immediates with dpp when unsupported (PR #201494)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 9 03:00:24 PDT 2026


================
@@ -5543,6 +5549,10 @@ bool SIInstrInfo::verifyInstruction(const MachineInstr &MI,
       ErrInfo = "DPP src1 cannot be SGPR on this subtarget";
       return false;
     }
+    if (Src1MO.isImm()) {
----------------
arsenm wrote:

Missing verifier test 

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


More information about the llvm-commits mailing list