[all-commits] [llvm/llvm-project] 55c557: [AMDGPU][MC] Refactored parsing of dpp ctrl

dpreobra via All-commits all-commits at lists.llvm.org
Mon Jan 18 07:15:30 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55c557a5d25fd0f4db55fc4a406a1ea74594cfad
      https://github.com/llvm/llvm-project/commit/55c557a5d25fd0f4db55fc4a406a1ea74594cfad
  Author: Dmitry Preobrazhensky <dmitry.preobrazhensky at amd.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
    M llvm/test/MC/AMDGPU/gfx10_err_pos.s
    M llvm/test/MC/AMDGPU/regression/bug28538.s

  Log Message:
  -----------
  [AMDGPU][MC] Refactored parsing of dpp ctrl

Summary of changes:
- simplified code to improve maintainability;
- replaced lex() with higher level parser functions;
- improved errors handling.

Reviewers: rampitec

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




More information about the All-commits mailing list