[PATCH] D80422: Enable `align <n>` to be used in intrinsic definitions.
Michael Liao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 21 21:38:30 PDT 2020
hliao added a comment.
To prepare the refactoring on D80364 <https://reviews.llvm.org/D80364>, intrinsics interested should be specified with the alignment on the return pointer. With this patch, `amdgcn.dispatch.ptr` is defined as follows
def int_amdgcn_dispatch_ptr :
Intrinsic<[LLVMQualPointerType<llvm_i8_ty, 4>], [],
[Align<-1, 4>, IntrNoMem, IntrSpeculatable]>;
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80422/new/
https://reviews.llvm.org/D80422
More information about the llvm-commits
mailing list