1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

AMDGPU: Make getreg intrinsic inaccessiblememonly

llvm-svn: 363591
This commit is contained in:
Matt Arsenault 2019-06-17 18:17:25 +00:00
parent fb04ae0293
commit 6999aef238

View File

@ -1170,7 +1170,7 @@ def int_amdgcn_s_decperflevel :
def int_amdgcn_s_getreg :
GCCBuiltin<"__builtin_amdgcn_s_getreg">,
Intrinsic<[llvm_i32_ty], [llvm_i32_ty],
[IntrReadMem, IntrSpeculatable, ImmArg<0>]
[IntrInaccessibleMemOnly, IntrReadMem, IntrSpeculatable, ImmArg<0>]
>;
// int_amdgcn_s_getpc is provided to allow a specific style of position