[PATCH] D72258: AMDGPU: Don't error on ds.ordered intrinsic in function

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 6 06:08:31 PST 2020


arsenm created this revision.
arsenm added reviewers: mareko, nhaehnle, rampitec, tpr, dstuttard.
Herald added subscribers: hiraditya, t-tye, yaxunl, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.

These should be assumed to be called from a compute context. Also
don't use a 2 entry switch over constants.


https://reviews.llvm.org/D72258

Files:
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.ordered.add.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72258.236340.patch
Type: text/x-patch
Size: 4585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200106/24d1f7e5/attachment.bin>


More information about the llvm-commits mailing list