[all-commits] [llvm/llvm-project] 37b538: [AMDGPU] Incorrect error message regarding SCC mod...

jwanggit86 via All-commits all-commits at lists.llvm.org
Fri Sep 8 13:07:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 37b538819bfe180d357b5c9fe709868675843e03
      https://github.com/llvm/llvm-project/commit/37b538819bfe180d357b5c9fe709868675843e03
  Author: jwanggit86 <jwang86 at yahoo.com>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
    M llvm/test/MC/AMDGPU/gfx90a_asm_features.s
    M llvm/test/MC/AMDGPU/gfx90a_err.s

  Log Message:
  -----------
  [AMDGPU] Incorrect error message regarding SCC modifier (#65660)

For the AMD GFX90A GPU, the SCC instruction modifier is allowed for
certain classes of instructions. However, the current assembler
generates an error message, "scc is not supported on this GPU",
regardless of the instruciton. This fix modifies the message as well as
the logic for generating the message. Related tests are moved from
gfx90a_err.s to gfx90a_asm_features.s.

Co-authored-by: Jun Wang <jun.wang7 at amd.com>




More information about the All-commits mailing list