[llvm] [AMDGPU][AsmParser] Eliminate validateExeczVcczOperands(). (PR #102600)
Ivan Kosarev via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 12 05:20:18 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 {
----------------
kosarev wrote:
`MCAsmParser::Error()` seems to return true, so wouldn't work. (Confusingly, our `AMDGPUAsmParser::Error()` returns false, but from what I see that's not what we call here.)
https://github.com/llvm/llvm-project/pull/102600
More information about the llvm-commits
mailing list