[AMDGPU] Better more consistent error check lines
authorJay Foad <jay.foad@amd.com>
Tue, 29 Nov 2022 12:45:28 +0000 (12:45 +0000)
committerJay Foad <jay.foad@amd.com>
Tue, 29 Nov 2022 12:55:36 +0000 (12:55 +0000)
commit7ab83a7046f18b43055e040217f136a8ac6d98a1
treea28e4c2916fb63633590a64860d4de94b39fb580
parent30eff7f29f97599a94a40907f5b77244af0eaee1
[AMDGPU] Better more consistent error check lines

Checking for : before @LINE avoids the unlikely possibility that the
expected error line number happens to be a suffix of the actual one.
llvm/test/MC/AMDGPU/gfx11_asm_err.s
llvm/test/MC/AMDGPU/gfx11_asm_flat_errs.s
llvm/test/MC/AMDGPU/user-sgpr-count-diag.s
llvm/test/MC/AMDGPU/vop_sdwa.s