[PATCH] D146031: [AMDGPU] Add MMOs for GFX11 Streamout Instructions

Diana Picus via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 20 06:00:17 PDT 2023


rovka updated this revision to Diff 506559.
rovka added a comment.

It seems arc didn't want to update the revision Summary from my commit message, so I'll add this as a comment: 
I'm also planning to add this paragraph to the commit message:

[...]
Since this address space is meant to be compiler-internal, we move it
up a bit from the other address spaces and give it the number 128.
According to the LLVM Language Reference, address space numbers can go
all the way up to 2^24, but I'm not sure how well this is supported in
practice [1], so using a smaller number seems safer.

[1] https://github.com/llvm/llvm-project/blob/0107513fe79da7670e37c29c0862794a2213a89c/llvm/utils/TableGen/IntrinsicEmitter.cpp#L401


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146031/new/

https://reviews.llvm.org/D146031

Files:
  llvm/docs/AMDGPUUsage.rst
  llvm/include/llvm/IR/IntrinsicsAMDGPU.td
  llvm/lib/Target/AMDGPU/AMDGPU.h
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.add.gs.reg.rtn.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.sub.gs.reg.rtn.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146031.506559.patch
Type: text/x-patch
Size: 8419 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230320/9248e1c1/attachment.bin>


More information about the llvm-commits mailing list