[llvm] [AMDGPU][AsmParser] Eliminate validateExeczVcczOperands(). (PR #102600)
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 9 12:59:28 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:
This `else` is probably not needed, `Error` shall act like a return.
https://github.com/llvm/llvm-project/pull/102600
More information about the llvm-commits
mailing list