summaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-12-28 00:26:14 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-12-28 00:26:14 +0000
commit486aa2085240cfb6e43c18adc3e7ac442f5cadbf (patch)
treef5dfb71b87b21b483895f9d47a80b9930732bfd8 /include/llvm
parent9c041292572310880d72af8c38f16fe44de227fc (diff)
AMDGPU: Add MMO to atomic_inc/dec
This doesn't really change anything because these already had custom node wrappers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321508 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/IR/IntrinsicsAMDGPU.td3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/IR/IntrinsicsAMDGPU.td b/include/llvm/IR/IntrinsicsAMDGPU.td
index d7999cd3323..cc08fe68327 100644
--- a/include/llvm/IR/IntrinsicsAMDGPU.td
+++ b/include/llvm/IR/IntrinsicsAMDGPU.td
@@ -288,7 +288,8 @@ class AMDGPUAtomicIncIntrin : Intrinsic<[llvm_anyint_ty],
llvm_i32_ty, // ordering
llvm_i32_ty, // scope
llvm_i1_ty], // isVolatile
- [IntrArgMemOnly, NoCapture<0>]
+ [IntrArgMemOnly, NoCapture<0>], "",
+ [SDNPMemOperand]
>;
def int_amdgcn_atomic_inc : AMDGPUAtomicIncIntrin;