[llvm] r364304 - AMDGPU: Make amdgcn.s.get.waveid.in.workgroup inaccessiblememonly
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 25 06:03:06 PDT 2019
Author: arsenm
Date: Tue Jun 25 06:03:06 2019
New Revision: 364304
URL: http://llvm.org/viewvc/llvm-project?rev=364304&view=rev
Log:
AMDGPU: Make amdgcn.s.get.waveid.in.workgroup inaccessiblememonly
This should probably be readnone, even though the instruction looks
like a load.
Modified:
llvm/trunk/include/llvm/IR/IntrinsicsAMDGPU.td
Modified: llvm/trunk/include/llvm/IR/IntrinsicsAMDGPU.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/IntrinsicsAMDGPU.td?rev=364304&r1=364303&r2=364304&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/IntrinsicsAMDGPU.td (original)
+++ llvm/trunk/include/llvm/IR/IntrinsicsAMDGPU.td Tue Jun 25 06:03:06 2019
@@ -1524,7 +1524,7 @@ def int_amdgcn_mov_dpp8 :
def int_amdgcn_s_get_waveid_in_workgroup :
GCCBuiltin<"__builtin_amdgcn_s_get_waveid_in_workgroup">,
- Intrinsic<[llvm_i32_ty], [], [IntrReadMem]>;
+ Intrinsic<[llvm_i32_ty], [], [IntrReadMem, IntrInaccessibleMemOnly]>;
//===----------------------------------------------------------------------===//
// Deep learning intrinsics.
More information about the llvm-commits
mailing list