Author: erichkeane Date: 2025-06-26T11:03:51-07:00 New Revision: edf0d0da435cb423bf82c87ead2787048d5cc991
URL: https://github.com/llvm/llvm-project/commit/edf0d0da435cb423bf82c87ead2787048d5cc991 DIFF: https://github.com/llvm/llvm-project/commit/edf0d0da435cb423bf82c87ead2787048d5cc991.diff LOG: [OpenACc][CIR] Fix tests failed because of crossed-patches Review #145600 and #145770 crossed, which caused compute-copy and combined-copy tests to fail because of an insufficiently written 'check' line for a cir.func, which didn't account for the linkage spec being added. This patch adds that to fix the build. Added: Modified: clang/test/CIR/CodeGenOpenACC/combined-copy.c clang/test/CIR/CodeGenOpenACC/compute-copy.c Removed: ################################################################################ diff --git a/clang/test/CIR/CodeGenOpenACC/combined-copy.c b/clang/test/CIR/CodeGenOpenACC/combined-copy.c index 16df179d900da..b4573e66f24a5 100644 --- a/clang/test/CIR/CodeGenOpenACC/combined-copy.c +++ b/clang/test/CIR/CodeGenOpenACC/combined-copy.c @@ -1104,7 +1104,7 @@ void copy_member_of_array_element_member() { } void modifier_list() { - // CHECK: cir.func @modifier_list() { + // CHECK: cir.func{{.*}} @modifier_list() { int localVar; // CHECK-NEXT: %[[LOCALVAR:.*]] = cir.alloca !s32i, !cir.ptr<!s32i>, ["localVar"] diff --git a/clang/test/CIR/CodeGenOpenACC/compute-copy.c b/clang/test/CIR/CodeGenOpenACC/compute-copy.c index b3010ab6e4b69..d7676d6d30c1e 100644 --- a/clang/test/CIR/CodeGenOpenACC/compute-copy.c +++ b/clang/test/CIR/CodeGenOpenACC/compute-copy.c @@ -899,7 +899,7 @@ void acc_compute_members() { } void modifier_list() { - // CHECK: cir.func @modifier_list() { + // CHECK: cir.func{{.*}} @modifier_list() { int localVar; // CHECK-NEXT: %[[LOCALVAR:.*]] = cir.alloca !s32i, !cir.ptr<!s32i>, ["localVar"] _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits