[PATCH] D87234: [AMDGPU][MC] Improved diagnostic messages for invalid registers
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 8 13:01:15 PDT 2020
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp:2394
+ if (!subtargetHasRegister(*TRI, Reg)) {
+ if (Reg == AMDGPU::SGPR_NULL) {
+ Error(Loc, "'null' operand is not supported on this GPU");
----------------
Not sure why we would special case this one
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87234/new/
https://reviews.llvm.org/D87234
More information about the llvm-commits
mailing list