[PATCH] D44937: AMDGPU: Make getTgtMemIntrinsic table-driven for resource-based intrinsics

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 27 08:29:01 PDT 2018


nhaehnle created this revision.
nhaehnle added reviewers: arsenm, rampitec, b-sumner.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, mgorny, wdng, kzhuravl.

Avoids having to list all intrinsics manually.

This is in preparation for the new dimension-aware image intrinsics,
which I'd rather not have to list here by hand.

Change-Id: If7ced04998397ef68c4cb8f7de66b5050fb767e5


Repository:
  rL LLVM

https://reviews.llvm.org/D44937

Files:
  include/llvm/IR/IntrinsicsAMDGPU.td
  lib/Target/AMDGPU/AMDGPU.td
  lib/Target/AMDGPU/AMDGPUInstrInfo.cpp
  lib/Target/AMDGPU/AMDGPUInstrInfo.h
  lib/Target/AMDGPU/AMDGPUSearchableTables.td
  lib/Target/AMDGPU/CMakeLists.txt
  lib/Target/AMDGPU/SIISelLowering.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44937.139938.patch
Type: text/x-patch
Size: 18843 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180327/2ce0b024/attachment.bin>


More information about the llvm-commits mailing list