[all-commits] [llvm/llvm-project] 745064: [AMDGPU][MC] Refactored exp tgt handling

dpreobra via All-commits all-commits at lists.llvm.org
Tue Jan 26 04:00:32 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 745064e36b8751548061cc72039dc039c566d175
      https://github.com/llvm/llvm-project/commit/745064e36b8751548061cc72039dc039c566d175
  Author: Dmitry Preobrazhensky <dmitry.preobrazhensky at amd.com>
  Date:   2021-01-26 (Tue, 26 Jan 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUExportClustering.cpp
    M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
    M llvm/lib/Target/AMDGPU/SIDefines.h
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
    M llvm/test/MC/AMDGPU/exp-err.s
    M llvm/test/MC/AMDGPU/exp-gfx10.s
    M llvm/test/MC/AMDGPU/gfx10_err_pos.s
    M llvm/test/MC/AMDGPU/gfx9_err_pos.s

  Log Message:
  -----------
  [AMDGPU][MC] Refactored exp tgt handling

Summary:
- Separated tgt encoding from parsing;
- Separated tgt decoding from printing;
- Improved errors handling;
- Disabled leading zeroes in index. The following code is no longer accepted: exp pos00 v3, v2, v1, v0

Reviewers: arsenm, rampitec, foad

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




More information about the All-commits mailing list