1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

AMDGPU: Add immarg to llvm.amdgcn.init.exec.from.input

As far as I can tell this has to be a constant.

llvm-svn: 371793
This commit is contained in:
Matt Arsenault 2019-09-12 23:46:54 +00:00
parent 13e6fc349a
commit 7413fb9a27

View File

@ -186,7 +186,7 @@ def int_amdgcn_init_exec : Intrinsic<[],
def int_amdgcn_init_exec_from_input : Intrinsic<[], def int_amdgcn_init_exec_from_input : Intrinsic<[],
[llvm_i32_ty, // 32-bit SGPR input [llvm_i32_ty, // 32-bit SGPR input
llvm_i32_ty], // bit offset of the thread count llvm_i32_ty], // bit offset of the thread count
[IntrConvergent]>; [IntrConvergent, ImmArg<1>]>;
def int_amdgcn_wavefrontsize : def int_amdgcn_wavefrontsize :
GCCBuiltin<"__builtin_amdgcn_wavefrontsize">, GCCBuiltin<"__builtin_amdgcn_wavefrontsize">,