[clang] c47260e - [CIR][NFC] Fix failing OpenACC NYI test (#141155)
via cfe-commits
cfe-commits at lists.llvm.org
Thu May 22 15:59:12 PDT 2025
Author: Andy Kaylor
Date: 2025-05-22T15:59:10-07:00
New Revision: c47260efccf10279b120dbfc516264b39ebaa277
URL: https://github.com/llvm/llvm-project/commit/c47260efccf10279b120dbfc516264b39ebaa277
DIFF: https://github.com/llvm/llvm-project/commit/c47260efccf10279b120dbfc516264b39ebaa277.diff
LOG: [CIR][NFC] Fix failing OpenACC NYI test (#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.
Added:
Modified:
clang/test/CIR/CodeGenOpenACC/openacc-not-implemented.cpp
Removed:
################################################################################
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