[llvm] [NVPTX] Allow MemTransferInst in adjustByValArgAlignment (PR #112462)

Jinsong Ji via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 16 11:32:30 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(
----------------
jsji wrote:

This is copied from line 207, simply removing `align 4` in param.

https://github.com/llvm/llvm-project/pull/112462


More information about the llvm-commits mailing list