[llvm] AMDGPU: Allow only VGPR wide sources in fp6/4/8 conversions (PR #127464)

Pravin Jagtap via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 17 06:01:53 PST 2025


================
@@ -1818,6 +1818,18 @@ class getVOP3VRegSrcForVT<ValueType VT, bit IsTrue16 = 0, bit IsFake16 = 0> {
          1                 : RegisterOperand<VGPR_32>);
 }
 
+// VGPR only VOP3 src with 9 bit encoding
+class getVOP3VSrcReg9ForVT<ValueType VT> {
----------------
pravinjagtap wrote:

No, VRegSrc_xxx inherits through `SrcReg9` which sets `DecoderMethod` and then reaches `RegisterOperand`

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


More information about the llvm-commits mailing list