[PATCH] D97928: [AMDGPU] Restore the s_memtime instruction in gfx1030

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 4 02:59:12 PST 2021


foad created this revision.
foad added reviewers: rampitec, dstuttard.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, yaxunl, nhaehnle, jvesely, kzhuravl, arsenm.
foad requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

gfx1030 added a new way to implement readcyclecounter using the
SHADER_CYCLES hardware register, but the s_memtime instruction still
exists, so the MC layer should still accept it and the
llvm.amdgcn.s.memtime intrinsic should still work.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97928

Files:
  llvm/lib/Target/AMDGPU/AMDGPU.td
  llvm/lib/Target/AMDGPU/GCNSubtarget.h
  llvm/lib/Target/AMDGPU/SMInstructions.td
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.memtime.ll
  llvm/test/MC/AMDGPU/gfx1030_err.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97928.328096.patch
Type: text/x-patch
Size: 5663 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210304/3be50e8a/attachment.bin>


More information about the llvm-commits mailing list