[llvm] d523a8d - AMDGPU: Add IntrWillReturn to llvm.amdgcn.atomic.csub
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 22 10:30:32 PDT 2020
Author: Matt Arsenault
Date: 2020-07-22T13:30:25-04:00
New Revision: d523a8d9797f3962b4af8331eea2ae220fb7111f
URL: https://github.com/llvm/llvm-project/commit/d523a8d9797f3962b4af8331eea2ae220fb7111f
DIFF: https://github.com/llvm/llvm-project/commit/d523a8d9797f3962b4af8331eea2ae220fb7111f.diff
LOG: AMDGPU: Add IntrWillReturn to llvm.amdgcn.atomic.csub
Added:
Modified:
llvm/include/llvm/IR/IntrinsicsAMDGPU.td
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/IntrinsicsAMDGPU.td b/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
index 01380afae006..79432afb0dcc 100644
--- a/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+++ b/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
@@ -1667,7 +1667,8 @@ class AMDGPUGlobalAtomicRtn<LLVMType vt> : Intrinsic <
[vt],
[llvm_anyptr_ty, // vaddr
vt], // vdata(VGPR)
- [IntrArgMemOnly, NoCapture<ArgIndex<0>>], "", [SDNPMemOperand]>;
+ [IntrArgMemOnly, IntrWillReturn, NoCapture<ArgIndex<0>>], "",
+ [SDNPMemOperand]>;
def int_amdgcn_global_atomic_csub : AMDGPUGlobalAtomicRtn<llvm_i32_ty>;
More information about the llvm-commits
mailing list