[PATCH] D96808: Fix flang after D76342
Valentin Clement via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 16 12:31:35 PST 2021
clementval created this revision.
clementval added reviewers: Meinersbur, sscalpone, schweitz, jeanPerier, SouraVX, kiranchandramohan.
clementval requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.
Fix Flang build after addition of a new OpenMP clauses for a clang patch (D76342 <https://reviews.llvm.org/D76342>).
Flang is using TableGen to generation the declaration of clause checks and the new clause
was missing a definiton.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D96808
Files:
flang/lib/Semantics/check-omp-structure.cpp
Index: flang/lib/Semantics/check-omp-structure.cpp
===================================================================
--- flang/lib/Semantics/check-omp-structure.cpp
+++ flang/lib/Semantics/check-omp-structure.cpp
@@ -667,6 +667,7 @@
CHECK_SIMPLE_CLAUSE(Relaxed, OMPC_relaxed)
CHECK_SIMPLE_CLAUSE(SeqCst, OMPC_seq_cst)
CHECK_SIMPLE_CLAUSE(Simd, OMPC_simd)
+CHECK_SIMPLE_CLAUSE(Sizes, OMPC_sizes)
CHECK_SIMPLE_CLAUSE(TaskReduction, OMPC_task_reduction)
CHECK_SIMPLE_CLAUSE(To, OMPC_to)
CHECK_SIMPLE_CLAUSE(UnifiedAddress, OMPC_unified_address)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96808.324077.patch
Type: text/x-patch
Size: 550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210216/2488c55c/attachment.bin>
More information about the llvm-commits
mailing list