This should probably be readnone, even though the instruction looks
like a load.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364304
91177308-0d34-0410-b5e6-
96231b3b80d8
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.