[PATCH] D67338: AMDGPU: Add immarg tto llvm.amdgcn.init.exec.from.input
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 8 17:55:07 PDT 2019
arsenm created this revision.
arsenm added reviewers: mareko, nhaehnle.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, wdng, jvesely, kzhuravl.
As far as I can tell this has to be a constant.
https://reviews.llvm.org/D67338
Files:
include/llvm/IR/IntrinsicsAMDGPU.td
Index: include/llvm/IR/IntrinsicsAMDGPU.td
===================================================================
--- include/llvm/IR/IntrinsicsAMDGPU.td
+++ include/llvm/IR/IntrinsicsAMDGPU.td
@@ -185,7 +185,7 @@
def int_amdgcn_init_exec_from_input : Intrinsic<[],
[llvm_i32_ty, // 32-bit SGPR input
llvm_i32_ty], // bit offset of the thread count
- [IntrConvergent]>;
+ [IntrConvergent, ImmArg<1>]>;
def int_amdgcn_wavefrontsize :
GCCBuiltin<"__builtin_amdgcn_wavefrontsize">,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67338.219282.patch
Type: text/x-patch
Size: 503 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190909/d1acc342/attachment.bin>
More information about the llvm-commits
mailing list