[all-commits] [llvm/llvm-project] ecde20: [AMDGPU][MC] Corrected parser to avoid generation ...

dpreobra via All-commits all-commits at lists.llvm.org
Wed Sep 2 09:45:46 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ecde200209f82b7362277ea59ad84df66c42dd3b
      https://github.com/llvm/llvm-project/commit/ecde200209f82b7362277ea59ad84df66c42dd3b
  Author: Dmitry Preobrazhensky <dmitry.preobrazhensky at amd.com>
  Date:   2020-09-02 (Wed, 02 Sep 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
    M llvm/lib/Target/AMDGPU/SIDefines.h
    M llvm/test/MC/AMDGPU/add-sub-no-carry.s
    M llvm/test/MC/AMDGPU/atomic-fadd-insts.s
    M llvm/test/MC/AMDGPU/buf-fmt-d16-packed.s
    M llvm/test/MC/AMDGPU/buf-fmt-d16-unpacked.s
    M llvm/test/MC/AMDGPU/dl-insts-err.s
    M llvm/test/MC/AMDGPU/dpp-err.s
    M llvm/test/MC/AMDGPU/ds-err.s
    M llvm/test/MC/AMDGPU/ds-gfx9.s
    M llvm/test/MC/AMDGPU/ds.s
    M llvm/test/MC/AMDGPU/exp-err.s
    M llvm/test/MC/AMDGPU/exp-gfx10.s
    M llvm/test/MC/AMDGPU/expressions-gfx10.s
    M llvm/test/MC/AMDGPU/expressions-gfx9.s
    M llvm/test/MC/AMDGPU/expressions.s
    M llvm/test/MC/AMDGPU/flat-gfx10.s
    M llvm/test/MC/AMDGPU/flat-gfx9.s
    M llvm/test/MC/AMDGPU/flat-global.s
    M llvm/test/MC/AMDGPU/flat-scratch-instructions.s
    M llvm/test/MC/AMDGPU/flat-scratch.s
    M llvm/test/MC/AMDGPU/flat.s
    M llvm/test/MC/AMDGPU/fma-mix.s
    M llvm/test/MC/AMDGPU/gfx10-constant-bus.s
    M llvm/test/MC/AMDGPU/gfx1011_err.s
    M llvm/test/MC/AMDGPU/gfx1030_err.s
    M llvm/test/MC/AMDGPU/gfx10_asm_all.s
    M llvm/test/MC/AMDGPU/gfx10_asm_dpp16.s
    M llvm/test/MC/AMDGPU/gfx10_asm_dpp8.s
    M llvm/test/MC/AMDGPU/gfx10_asm_err.s
    M llvm/test/MC/AMDGPU/gfx10_asm_mimg_err.s
    M llvm/test/MC/AMDGPU/gfx8_asm_all.s
    M llvm/test/MC/AMDGPU/gfx9-asm-err.s
    M llvm/test/MC/AMDGPU/gfx9-vop2be-literal.s
    M llvm/test/MC/AMDGPU/gfx9_asm_all.s
    M llvm/test/MC/AMDGPU/invalid-instructions-spellcheck.s
    M llvm/test/MC/AMDGPU/lds_direct-err.s
    M llvm/test/MC/AMDGPU/lds_direct-gfx10.s
    M llvm/test/MC/AMDGPU/literal16-err.s
    M llvm/test/MC/AMDGPU/literals.s
    M llvm/test/MC/AMDGPU/literalv216-err.s
    M llvm/test/MC/AMDGPU/literalv216.s
    M llvm/test/MC/AMDGPU/mad-mix.s
    M llvm/test/MC/AMDGPU/mai-err.s
    M llvm/test/MC/AMDGPU/mai.s
    M llvm/test/MC/AMDGPU/mimg-err.s
    M llvm/test/MC/AMDGPU/mimg.s
    M llvm/test/MC/AMDGPU/mtbuf-gfx10.s
    M llvm/test/MC/AMDGPU/mtbuf.s
    M llvm/test/MC/AMDGPU/mubuf-gfx9.s
    M llvm/test/MC/AMDGPU/mubuf.s
    M llvm/test/MC/AMDGPU/out-of-range-registers.s
    M llvm/test/MC/AMDGPU/reg-syntax-err.s
    M llvm/test/MC/AMDGPU/reg-syntax-extra.s
    M llvm/test/MC/AMDGPU/regression/bug28538.s
    M llvm/test/MC/AMDGPU/smem-err.s
    M llvm/test/MC/AMDGPU/smem.s
    M llvm/test/MC/AMDGPU/smrd-err.s
    M llvm/test/MC/AMDGPU/smrd.s
    M llvm/test/MC/AMDGPU/sop1-err.s
    M llvm/test/MC/AMDGPU/sop1.s
    M llvm/test/MC/AMDGPU/sop2-err.s
    M llvm/test/MC/AMDGPU/sop2.s
    M llvm/test/MC/AMDGPU/sopc-err.s
    M llvm/test/MC/AMDGPU/sopc.s
    M llvm/test/MC/AMDGPU/sopk-err.s
    M llvm/test/MC/AMDGPU/sopk.s
    M llvm/test/MC/AMDGPU/sopp-err.s
    M llvm/test/MC/AMDGPU/sopp.s
    M llvm/test/MC/AMDGPU/trap.s
    M llvm/test/MC/AMDGPU/vintrp-err.s
    M llvm/test/MC/AMDGPU/vop-err.s
    M llvm/test/MC/AMDGPU/vop1-gfx9-err.s
    M llvm/test/MC/AMDGPU/vop1-gfx9.s
    M llvm/test/MC/AMDGPU/vop1.s
    M llvm/test/MC/AMDGPU/vop2-err.s
    M llvm/test/MC/AMDGPU/vop2.s
    M llvm/test/MC/AMDGPU/vop3-convert.s
    M llvm/test/MC/AMDGPU/vop3-errs.s
    M llvm/test/MC/AMDGPU/vop3-gfx9.s
    M llvm/test/MC/AMDGPU/vop3-literal.s
    M llvm/test/MC/AMDGPU/vop3-modifiers-err.s
    M llvm/test/MC/AMDGPU/vop3.s
    M llvm/test/MC/AMDGPU/vop3p-err.s
    M llvm/test/MC/AMDGPU/vop_dpp.s
    M llvm/test/MC/AMDGPU/vop_sdwa.s
    M llvm/test/MC/AMDGPU/vopc-errs.s
    M llvm/test/MC/AMDGPU/vopc-vi.s
    M llvm/test/MC/AMDGPU/wave32.s
    M llvm/test/MC/AMDGPU/xdl-insts-err.s
    M llvm/test/MC/AMDGPU/xnack-mask.s

  Log Message:
  -----------
  [AMDGPU][MC] Corrected parser to avoid generation of excessive error messages

Summary of changes:
- Changed parser to eliminate generation of excessive error messages;
- Corrected lit tests to match all expected error messages;
- Corrected lit tests to guard against unwanted extra messages (added option "--implicit-check-not=error:");
- Added missing checks and fixed some typos in tests.

See bug 46907: https://bugs.llvm.org/show_bug.cgi?id=46907

Reviewers: arsenm, rampitec

Differential Revision: https://reviews.llvm.org/D86940




More information about the All-commits mailing list