[clang] [CIR][NFC] Fix failing OpenACC NYI test (PR #141155)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Thu May 22 15:50:58 PDT 2025
https://github.com/andykaylor created https://github.com/llvm/llvm-project/pull/141155
A recent change to the error message produced for unhandled compound statements without scope introduced a failure in an OpenACC test that was checking for the old error message. This change updates the test to check for the new message.
>From 901ff58013a2cd43fcc1702a98843053ac34a087 Mon Sep 17 00:00:00 2001
From: Andy Kaylor <akaylor at nvidia.com>
Date: Thu, 22 May 2025 15:48:10 -0700
Subject: [PATCH] [CIR][NFC] Fix failing OpenACC NYI test
A recent change to the error message produced for unhandled compound
statements without scope introduced a failure in an OpenACC test that
was checking for the old error message. This change updates the test
to check for the new message.
---
clang/test/CIR/CodeGenOpenACC/openacc-not-implemented.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clang/test/CIR/CodeGenOpenACC/openacc-not-implemented.cpp b/clang/test/CIR/CodeGenOpenACC/openacc-not-implemented.cpp
index 95b04a314ad8e..1dfb2edd128f8 100644
--- a/clang/test/CIR/CodeGenOpenACC/openacc-not-implemented.cpp
+++ b/clang/test/CIR/CodeGenOpenACC/openacc-not-implemented.cpp
@@ -3,7 +3,7 @@
void HelloWorld(int *A, int *B, int *C, int N) {
// expected-error at +2{{ClangIR code gen Not Yet Implemented: OpenACC Atomic Construct}}
-// expected-error at +1{{ClangIR code gen Not Yet Implemented: statement}}
+// expected-error at +1{{ClangIR code gen Not Yet Implemented: emitCompoundStmtWithoutScope: OpenACCAtomicConstruct}}
#pragma acc atomic
N = N + 1;
More information about the cfe-commits
mailing list