[clang] [llvm] [OpenMP] OpenMP 5.1 "assume" directive parsing support (PR #92731)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 6 10:05:18 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ppc64le-flang-rhel-clang` running on `ppc64le-flang-rhel-test` while building `clang,llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/157/builds/4246
Here is the relevant piece of the build log for the reference:
```
Step 5 (build-unified-tree) failure: build (failure)
...
167.266 [233/81/6175] Building CXX object tools/mlir/lib/Dialect/OpenMP/CMakeFiles/obj.MLIROpenMPDialect.dir/IR/OpenMPDialect.cpp.o
167.286 [232/81/6176] Linking CXX static library lib/libMLIROpenMPDialect.a
167.303 [228/84/6177] Linking CXX static library lib/libMLIROpenMPToLLVM.a
167.303 [228/83/6178] Linking CXX static library lib/libMLIRSCFToOpenMP.a
167.303 [228/82/6179] Linking CXX static library lib/libMLIROpenMPToLLVMIRTranslation.a
167.304 [227/82/6180] Linking CXX static library lib/libMLIRCAPIOpenMP.a
167.319 [227/81/6181] Linking CXX static library lib/libMLIRToLLVMIRTranslationRegistration.a
167.334 [226/81/6182] Linking CXX static library lib/libMLIRCAPITarget.a
168.191 [226/80/6183] Building CXX object tools/flang/lib/Evaluate/CMakeFiles/FortranEvaluate.dir/intrinsics.cpp.o
168.206 [226/79/6184] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Clauses.cpp.o
FAILED: tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Clauses.cpp.o
ccache /home/buildbots/llvm-external-buildbots/clang.16.0.1/bin/clang++ -DFLANG_INCLUDE_TESTS=1 -DFLANG_LITTLE_ENDIAN=1 -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/tools/flang/lib/Lower -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/lib/Lower -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/tools/flang/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/llvm/include -isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/llvm/../mlir/include -isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/tools/mlir/include -isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/tools/clang/include -isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/llvm/../clang/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Werror -Wno-deprecated-copy -Wno-string-conversion -Wno-ctad-maybe-unsupported -Wno-unused-command-line-argument -Wstring-conversion -Wcovered-switch-default -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Clauses.cpp.o -MF tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Clauses.cpp.o.d -o tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Clauses.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/lib/Lower/OpenMP/Clauses.cpp
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/lib/Lower/OpenMP/Clauses.cpp:1217:45: error: no matching function for call to 'make'
return makeClause(getClauseId(cls), clause::make(s, semaCtx),
^~~~~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/include/flang/Common/visit.h:72:54: note: in instantiation of function template specialization 'Fortran::lower::omp::makeClause(const parser::OmpClause &, semantics::SemanticsContext &)::(anonymous class)::operator()<const Fortran::parser::OmpClause::Absent &>' requested here
visit(VISITOR &&visitor, VARIANT &&...u) -> decltype(visitor(std::get<0>(
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/lib/Lower/OpenMP/Clauses.cpp:1215:10: note: while substituting deduced template arguments into function template 'visit' [with VISITOR = (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/lib/Lower/OpenMP/Clauses.cpp:1216:7), VARIANT = <const std::variant<Absent, AcqRel, Acquire, AdjustArgs, Affinity, Align, Aligned, Allocate, Allocator, AppendArgs, At, AtomicDefaultMemOrder, Bind, CancellationConstructType, Capture, Collapse, Compare, Contains, Copyprivate, Copyin, Default, Defaultmap, Depend, Depobj, Destroy, Detach, Device, DeviceType, DistSchedule, Doacross, DynamicAllocators, Enter, Exclusive, Fail, Filter, Final, Firstprivate, Flush, From, Full, Grainsize, HasDeviceAddr, Hint, Holds, If, InReduction, Inbranch, Inclusive, Indirect, Init, IsDevicePtr, Lastprivate, Linear, Link, Map, Match, MemoryOrder, Mergeable, Message, Nogroup, NoOpenmp, NoOpenmpRoutines, NoParallelism, Nowait, Nocontext, Nontemporal, Notinbranch, Novariants, NumTasks, NumTeams, NumThreads, OmpxAttribute, OmpxBare, OmpxDynCgroupMem, Order, Ordered, Partial, Priority, Private, ProcBind, Read, Reduction, Relaxed, Release, ReverseOffload, Safelen, Schedule, SeqCst, Severity, Shared, Simd, Simdlen, Sizes, TaskReduction, ThreadLimit, Threadprivate, Threads, To, UnifiedAddress, UnifiedSharedMemory, Uniform, Unknown, Untied, Update, Use, UseDeviceAddr, UseDevicePtr, UsesAllocators, Weak, When, Write> &>]
return Fortran::common::visit(
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/lib/Lower/OpenMP/Clauses.cpp:212:1: note: candidate function not viable: no known conversion from 'const Fortran::parser::OmpClause::Absent' to 'const parser::OmpClause::AcqRel' for 1st argument
MAKE_EMPTY_CLASS(AcqRel, AcqRel);
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/lib/Lower/OpenMP/Clauses.cpp:193:7: note: expanded from macro 'MAKE_EMPTY_CLASS'
cls make(const parser::OmpClause::from_cls &, \
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/lib/Lower/OpenMP/Clauses.cpp:213:1: note: candidate function not viable: no known conversion from 'const Fortran::parser::OmpClause::Absent' to 'const parser::OmpClause::Acquire' for 1st argument
MAKE_EMPTY_CLASS(Acquire, Acquire);
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/lib/Lower/OpenMP/Clauses.cpp:193:7: note: expanded from macro 'MAKE_EMPTY_CLASS'
cls make(const parser::OmpClause::from_cls &, \
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/lib/Lower/OpenMP/Clauses.cpp:214:1: note: candidate function not viable: no known conversion from 'const Fortran::parser::OmpClause::Absent' to 'const parser::OmpClause::Capture' for 1st argument
MAKE_EMPTY_CLASS(Capture, Capture);
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/lib/Lower/OpenMP/Clauses.cpp:193:7: note: expanded from macro 'MAKE_EMPTY_CLASS'
cls make(const parser::OmpClause::from_cls &, \
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/lib/Lower/OpenMP/Clauses.cpp:215:1: note: candidate function not viable: no known conversion from 'const Fortran::parser::OmpClause::Absent' to 'const parser::OmpClause::Compare' for 1st argument
MAKE_EMPTY_CLASS(Compare, Compare);
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/lib/Lower/OpenMP/Clauses.cpp:193:7: note: expanded from macro 'MAKE_EMPTY_CLASS'
cls make(const parser::OmpClause::from_cls &, \
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/lib/Lower/OpenMP/Clauses.cpp:216:1: note: candidate function not viable: no known conversion from 'const Fortran::parser::OmpClause::Absent' to 'const parser::OmpClause::DynamicAllocators' for 1st argument
MAKE_EMPTY_CLASS(DynamicAllocators, DynamicAllocators);
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/flang/lib/Lower/OpenMP/Clauses.cpp:193:7: note: expanded from macro 'MAKE_EMPTY_CLASS'
```
https://github.com/llvm/llvm-project/pull/92731
More information about the cfe-commits
mailing list