[llvm] [AMDGPU] VOPD/VOPD3 changes for gfx1250 (PR #147602)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 9 14:46:12 PDT 2025


================
@@ -2642,6 +2721,13 @@ class VOPProfile <list<ValueType> _ArgVT, bit _EnableClamp = 0> {
   // component is FMAAK or FMAMK
   field dag InsVOPDX_immX = (ins !if(!eq(Src0VT.Size, 32), VSrc_f32, VSrc_f16):$src0X, VGPR_32:$vsrc1X);
   field dag InsVOPDY = (ins Src0RC32:$src0Y, Src1RC32:$vsrc1Y);
+  field bit HasVOPD3Src2 = !empty(Ins32); // VOP3 does not have Ins32.
----------------
rampitec wrote:

It basically the answer to the question 'do I need it in the asm string'?

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


More information about the llvm-commits mailing list