[llvm] [AMDGPU][MC] GFX9 - allow op_sel in v_interp_p2_f16 (PR #150712)

Jun Wang via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 14 13:07:18 PDT 2025


================
@@ -1299,6 +1299,14 @@ void AMDGPUInstPrinter::printOpSel(const MCInst *MI, unsigned,
       O << " op_sel:[" << FI << ',' << BC << ']';
     return;
   }
+  if (Opc == AMDGPU::V_INTERP_P2_F16_opsel_gfx9) {
----------------
jwanggit86 wrote:

Still, because there's no src1, the printed op_sel[] only contains 3 elements, even when the input has 4 elements.

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


More information about the llvm-commits mailing list