Author: Michael Liao Date: 2025-12-01T20:56:56-05:00 New Revision: 28e200495e5b39b7599846c511e61723cde2f478
URL: https://github.com/llvm/llvm-project/commit/28e200495e5b39b7599846c511e61723cde2f478 DIFF: https://github.com/llvm/llvm-project/commit/28e200495e5b39b7599846c511e61723cde2f478.diff LOG: [clang][CUDA] Clean up tests from device-side kernel call support. NFC - Remove unused 'CHECK' from the CUDASema test Added: Modified: clang/test/SemaCUDA/device-kernel-call.cu Removed: ################################################################################ diff --git a/clang/test/SemaCUDA/device-kernel-call.cu b/clang/test/SemaCUDA/device-kernel-call.cu index fea6deac02e55..856cbd88404e6 100644 --- a/clang/test/SemaCUDA/device-kernel-call.cu +++ b/clang/test/SemaCUDA/device-kernel-call.cu @@ -8,15 +8,7 @@ __global__ void g2(int x) {} -// CHECK-LABEL: define{{.*}}g1 __global__ void g1(void) { - // CHECK: [[CONFIG:%.*]] = call{{.*}}_Z22cudaGetParameterBuffermm(i64{{.*}}64, i64{{.*}}4) - // CHECK-NEXT: [[FLAG:%.*]] = icmp ne ptr [[CONFIG]], null - // CHECK-NEXT: br i1 [[FLAG]], label %[[THEN:.*]], label %[[ENDIF:.*]] - // CHECK: [[THEN]]: - // CHECK-NEXT: [[PPTR:%.*]] = getelementptr{{.*}}i8, ptr [[CONFIG]], i64 0 - // CHECK-NEXT: store i32 42, ptr [[PPTR]] - // CHECK: = call{{.*}} i32 @_Z16cudaLaunchDevicePvS_4dim3S0_jP10cudaStream(ptr{{.*}} @_Z2g2i, ptr{{.*}} [[CONFIG]], g2<<<1, 1>>>(42); // nordc-error@-1 {{kernel launch from __device__ or __global__ function requires relocatable device code (i.e. requires -fgpu-rdc)}} // hip-error@-2 {{device-side kernel call/launch is not supported}} _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
