[llvm] [AMDGPU][GFX12] VOP encoding and codegen - add support for v_cvt fp8/… (PR #78414)
Ivan Kosarev via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 18 01:19:09 PST 2024
================
@@ -8788,6 +8814,20 @@ void AMDGPUAsmParser::cvtVOP3DPP(MCInst &Inst, const OperandVector &Operands,
}
}
+ if (VdstInIdx != -1) {
+ int NumOperands = Inst.getNumOperands();
+ if (VdstInIdx == NumOperands)
----------------
kosarev wrote:
Can be just `if (VdstInIdx == Inst.getNumOperands())`? +Same below.
https://github.com/llvm/llvm-project/pull/78414
More information about the llvm-commits
mailing list