From dcecb0040269edafdc30b1288b4047a4b8bfe3eb Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 20 Jan 2025 11:07:09 +0100 Subject: [PATCH 1/3] Update to LLVM 20 --- src/llvm-project | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llvm-project b/src/llvm-project index 7e8c93c87c611..4f8b101ee2ea3 160000 --- a/src/llvm-project +++ b/src/llvm-project @@ -1 +1 @@ -Subproject commit 7e8c93c87c611f21d9bd95100563392f4c18bfe7 +Subproject commit 4f8b101ee2ea374ca27786b9e11b9c42dbbdb5fe From 5bf4096cd75fddcdb890c11c878e4174f222ec0b Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 27 Jan 2025 15:25:32 +0000 Subject: [PATCH 2/3] Adjust NVPTX ABI test for LLVM 20 LLVM 20 prints additional .ptr .align 4 annotations. --- tests/assembly/nvptx-kernel-abi/nvptx-kernel-args-abi-v7.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/assembly/nvptx-kernel-abi/nvptx-kernel-args-abi-v7.rs b/tests/assembly/nvptx-kernel-abi/nvptx-kernel-args-abi-v7.rs index fb3a325a41f81..4b743cb39fa24 100644 --- a/tests/assembly/nvptx-kernel-abi/nvptx-kernel-args-abi-v7.rs +++ b/tests/assembly/nvptx-kernel-abi/nvptx-kernel-args-abi-v7.rs @@ -242,7 +242,7 @@ pub unsafe extern "ptx-kernel" fn f_float_array_arg(_a: [f32; 5]) {} //pub unsafe extern "ptx-kernel" fn f_u128_array_arg(_a: [u128; 5]) {} // CHECK: .visible .entry f_u32_slice_arg( -// CHECK: .param .u64 f_u32_slice_arg_param_0 +// CHECK: .param .u64 {{(\.ptr \.align 4 )?}}f_u32_slice_arg_param_0 // CHECK: .param .u64 f_u32_slice_arg_param_1 #[no_mangle] pub unsafe extern "ptx-kernel" fn f_u32_slice_arg(_a: &[u32]) {} From 9539a55bbc825f6ce904f1219bc9acc4890c4912 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 31 Jan 2025 14:56:12 +0100 Subject: [PATCH 3/3] Test patch --- src/llvm-project | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llvm-project b/src/llvm-project index 4f8b101ee2ea3..89e3ccda6af49 160000 --- a/src/llvm-project +++ b/src/llvm-project @@ -1 +1 @@ -Subproject commit 4f8b101ee2ea374ca27786b9e11b9c42dbbdb5fe +Subproject commit 89e3ccda6af49b2f0024e03e2f5fb416991e6e25