[PATCH] D63332: AMDGPU: Fix dropping memref for ds append/consume

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 14 05:59:55 PDT 2019


arsenm created this revision.
arsenm added a reviewer: rampitec.
Herald added subscribers: JDevlieghere, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.

The way SelectionDAG treats memory operands is very frustrating, and
by default drops them unless a property is set on the pattern. There
is no pattern for manually selected instructions, so this requires
manually setting them.


https://reviews.llvm.org/D63332

Files:
  include/llvm/IR/IntrinsicsAMDGPU.td
  lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  test/CodeGen/AMDGPU/llvm.amdgcn.ds.append.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.ds.consume.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63332.204754.patch
Type: text/x-patch
Size: 8216 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190614/50815b94/attachment.bin>


More information about the llvm-commits mailing list