[llvm] [NVPTX] Don't use underlying alignment to align param (PR #96793)

Fraser Cormack via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 26 09:27:44 PDT 2024


================
@@ -69,3 +69,39 @@ define ptx_device void @t6() {
   call void %fp(ptr byval(i8) null);
   ret void
 }
+
+; CHECK: .func check_ptr_align1(
+; CHECK: 	ld.param.u64 	%rd1
----------------
frasercrmck wrote:

I'm presuming there's still a split store to this ptr? Should we also CHECK for that so we can demonstrate that alignment of the pointer is being taken into account?

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


More information about the llvm-commits mailing list