[all-commits] [llvm/llvm-project] 86b55e: [AMDGPU] Mark s_getreg as having side effects inst...

Jay Foad via All-commits all-commits at lists.llvm.org
Thu May 19 13:26:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86b55edab6879f9e4c80a374629f548c6351e2c0
      https://github.com/llvm/llvm-project/commit/86b55edab6879f9e4c80a374629f548c6351e2c0
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2022-05-19 (Thu, 19 May 2022)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/lib/Target/AMDGPU/SOPInstructions.td

  Log Message:
  -----------
  [AMDGPU] Mark s_getreg as having side effects instead of reading memory

s_getreg does not interact with anything else that is modelled as a
memory access either in IR or MachineIR.

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


  Commit: 9ece0518471a28348324d05111f22f8143475715
      https://github.com/llvm/llvm-project/commit/9ece0518471a28348324d05111f22f8143475715
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2022-05-19 (Thu, 19 May 2022)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/lib/Target/AMDGPU/SMInstructions.td

  Log Message:
  -----------
  [AMDGPU] Mark s_get_waveid_in_workgroup as not reading memory

It is already marked as having side effects, at least in MIR. It does
not interact with anything else that is modelled as a memory access
either in IR or MachineIR.

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


Compare: https://github.com/llvm/llvm-project/compare/33b7df8c1fb6...9ece0518471a


More information about the All-commits mailing list