[AMDGPU][MC] Added detection of unsupported instructions
authorDmitry Preobrazhensky <dmitry.preobrazhensky@amd.com>
Tue, 6 Oct 2020 12:30:20 +0000 (15:30 +0300)
committerDmitry Preobrazhensky <dmitry.preobrazhensky@amd.com>
Tue, 6 Oct 2020 13:44:27 +0000 (16:44 +0300)
commite2452f57faa916866a99126d2337bd82a9e0a06d
tree8724a102525b51d6adec2a2080232b9155ff73cf
parentd8ee28b96ee77a466aea5e9ca9c6ed57b2194b4d
[AMDGPU][MC] Added detection of unsupported instructions

Implemented identification of unsupported instructions; improved errors reporting.

See bug 42590.

Reviewers: rampitec

Differential Revision: https://reviews.llvm.org/D88211
35 files changed:
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
llvm/test/MC/AMDGPU/dpp-err.s
llvm/test/MC/AMDGPU/ds.s
llvm/test/MC/AMDGPU/flat-global.s
llvm/test/MC/AMDGPU/flat-scratch-instructions.s
llvm/test/MC/AMDGPU/flat.s
llvm/test/MC/AMDGPU/fma-mix.s
llvm/test/MC/AMDGPU/gfx1011_err.s
llvm/test/MC/AMDGPU/gfx1030_err.s
llvm/test/MC/AMDGPU/gfx10_asm_err.s
llvm/test/MC/AMDGPU/gfx10_unsupported.s [new file with mode: 0644]
llvm/test/MC/AMDGPU/gfx7_unsupported.s [new file with mode: 0644]
llvm/test/MC/AMDGPU/gfx8_unsupported.s [new file with mode: 0644]
llvm/test/MC/AMDGPU/gfx9_unsupported.s [new file with mode: 0644]
llvm/test/MC/AMDGPU/invalid-instructions-spellcheck.s
llvm/test/MC/AMDGPU/literals.s
llvm/test/MC/AMDGPU/mad-mix.s
llvm/test/MC/AMDGPU/mai-err.s
llvm/test/MC/AMDGPU/mubuf-gfx9.s
llvm/test/MC/AMDGPU/mubuf.s
llvm/test/MC/AMDGPU/out-of-range-registers.s
llvm/test/MC/AMDGPU/smem.s
llvm/test/MC/AMDGPU/sop1.s
llvm/test/MC/AMDGPU/sopc.s
llvm/test/MC/AMDGPU/sopk.s
llvm/test/MC/AMDGPU/sopp.s
llvm/test/MC/AMDGPU/vop1-gfx9-err.s
llvm/test/MC/AMDGPU/vop2.s
llvm/test/MC/AMDGPU/vop3-errs.s
llvm/test/MC/AMDGPU/vop3-gfx9.s
llvm/test/MC/AMDGPU/vop3.s
llvm/test/MC/AMDGPU/vop_dpp.s
llvm/test/MC/AMDGPU/vop_sdwa.s
llvm/test/MC/AMDGPU/wave32.s
llvm/test/MC/AMDGPU/xdl-insts-err.s