[llvm] [AMDGPU][AsmParser] Eliminate validateExeczVcczOperands(). (PR #102600)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 9 13:11:45 PDT 2024


================
@@ -3039,7 +3038,8 @@ bool AMDGPUAsmParser::ParseAMDGPURegister(RegisterKind &RegKind, unsigned &Reg,
     if (Reg == AMDGPU::SGPR_NULL) {
       Error(Loc, "'null' operand is not supported on this GPU");
     } else {
----------------
rampitec wrote:

Actually it does not return, but can be used as `return Error()` instead.

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


More information about the llvm-commits mailing list