[llvm] [NVPTX] Allow MemTransferInst in adjustByValArgAlignment (PR #112462)
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 16 11:18:16 PDT 2024
================
@@ -219,6 +219,20 @@ entry:
ret void
}
+; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite)
+define dso_local void @memcpy_from_param_noalign (ptr nocapture noundef writeonly %out, ptr nocapture noundef readonly byval(%struct.S) %s) local_unnamed_addr #0 {
+; COMMON-LABEL: define dso_local void @memcpy_from_param_noalign(
----------------
Artem-B wrote:
You may also want to make this function a kernel, by adding an appropriate metadata at the end of the file.
https://github.com/llvm/llvm-project/pull/112462
More information about the llvm-commits
mailing list