[all-commits] [llvm/llvm-project] 3a042d: [AMDGPU] Fix default value of glc for mubuf rtn at...

petar-avramovic via All-commits all-commits at lists.llvm.org
Mon Dec 7 05:01:08 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a042dcd2e1ab53244d504cd87a81b577a62a6ea
      https://github.com/llvm/llvm-project/commit/3a042dcd2e1ab53244d504cd87a81b577a62a6ea
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2020-12-07 (Mon, 07 Dec 2020)

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

  Log Message:
  -----------
  [AMDGPU] Fix default value of glc for mubuf rtn atomics

Mubuf rtn atomics use GLC_1 thus default value for glc operand
should be -1, see https://reviews.llvm.org/D90730.
This allows us to report error when rtn atomic requires glc=1
but does not have glc operand in input.

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




More information about the All-commits mailing list