[Mlir-commits] [mlir] [OpenMP][MLIR] Descriptor explicit member map lowering changes (PR #113556)

LLVM Continuous Integration llvmlistbot at llvm.org
Sat Nov 16 03:49:03 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `flang-aarch64-rel-assert` running on `linaro-flang-aarch64-rel-assert` while building `mlir` at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/29/builds/6594

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (build-unified-tree) failure: build (failure)
...
205.427 [684/43/6216] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/ControlFlowConverter.cpp.o
208.628 [684/42/6217] Building CXX object tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MarkDeclareTarget.cpp.o
209.450 [684/41/6218] Building CXX object tools/flang/lib/Optimizer/Builder/CMakeFiles/FIRBuilder.dir/FIRBuilder.cpp.o
209.562 [674/50/6219] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/DebugTypeGenerator.cpp.o
209.585 [674/49/6220] Building CXX object tools/flang/tools/f18-parse-demo/CMakeFiles/f18-parse-demo.dir/stub-evaluate.cpp.o
209.733 [674/48/6221] Building CXX object tools/flang/examples/FlangOmpReport/CMakeFiles/flangOmpReport.dir/FlangOmpReportVisitor.cpp.o
209.750 [674/47/6222] Building CXX object tools/flang/tools/f18-parse-demo/CMakeFiles/f18-parse-demo.dir/f18-parse-demo.cpp.o
209.776 [674/46/6223] Building CXX object tools/flang/examples/PrintFlangFunctionNames/CMakeFiles/flangPrintFunctionNames.dir/PrintFlangFunctionNames.cpp.o
209.823 [674/45/6224] Building CXX object tools/flang/examples/FeatureList/CMakeFiles/flangFeatureList.dir/FeatureList.cpp.o
209.983 [673/45/6225] Building CXX object tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MapsForPrivatizedSymbols.cpp.o
FAILED: tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MapsForPrivatizedSymbols.cpp.o 
/usr/local/bin/c++ -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/tcwg-buildbot/worker/flang-aarch64-rel-assert/build/tools/flang/lib/Optimizer/OpenMP -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/flang/lib/Optimizer/OpenMP -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/flang/include -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/build/tools/flang/include -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/llvm/include -isystem /home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/llvm/../mlir/include -isystem /home/tcwg-buildbot/worker/flang-aarch64-rel-assert/build/tools/mlir/include -isystem /home/tcwg-buildbot/worker/flang-aarch64-rel-assert/build/tools/clang/include -isystem /home/tcwg-buildbot/worker/flang-aarch64-rel-assert/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 -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/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MapsForPrivatizedSymbols.cpp.o -MF tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MapsForPrivatizedSymbols.cpp.o.d -o tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MapsForPrivatizedSymbols.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/flang/lib/Optimizer/OpenMP/MapsForPrivatizedSymbols.cpp
In file included from ../llvm-project/flang/lib/Optimizer/OpenMP/MapsForPrivatizedSymbols.cpp:26:
In file included from ../llvm-project/flang/include/flang/Optimizer/Builder/FIRBuilder.h:20:
In file included from ../llvm-project/flang/include/flang/Optimizer/Dialect/FIROps.h:17:
In file included from ../llvm-project/mlir/include/mlir/Dialect/Arith/IR/Arith.h:19:
In file included from ../llvm-project/mlir/include/mlir/Interfaces/InferTypeOpInterface.h:18:
../llvm-project/mlir/include/mlir/IR/Builders.h:517:11: error: no matching member function for call to 'build'
  517 |     OpTy::build(*this, state, std::forward<Args>(args)...);
      |     ~~~~~~^~~~~
../llvm-project/flang/lib/Optimizer/OpenMP/MapsForPrivatizedSymbols.cpp:89:20: note: in instantiation of function template specialization 'mlir::OpBuilder::create<mlir::omp::MapInfoOp, mlir::Type, mlir::Value &, mlir::TypeAttr, mlir::Value, llvm::SmallVector<mlir::Value>, mlir::DenseIntElementsAttr, mlir::ValueRange, mlir::IntegerAttr, mlir::omp::VariableCaptureKindAttr, mlir::StringAttr, mlir::BoolAttr>' requested here
   89 |     return builder.create<omp::MapInfoOp>(
      |                    ^
tools/mlir/include/mlir/Dialect/OpenMP/OpenMPOps.h.inc:4537:15: note: candidate function not viable: no known conversion from 'mlir::DenseIntElementsAttr' to '::mlir::ArrayAttr' for 8th argument
 4537 |   static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type omp_ptr, ::mlir::Value var_ptr, ::mlir::TypeAttr var_type, /*optional*/::mlir::Value var_ptr_ptr, ::mlir::ValueRange members, /*optional*/::mlir::ArrayAttr members_index, ::mlir::ValueRange bounds, /*optional*/::mlir::IntegerAttr map_type, /*optional*/::mlir::omp::VariableCaptureKindAttr map_capture_type, /*optional*/::mlir::StringAttr name, ::mlir::BoolAttr partial_map);
      |               ^                                                                                                                                                                                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tools/mlir/include/mlir/Dialect/OpenMP/OpenMPOps.h.inc:4539:15: note: candidate function not viable: no known conversion from 'mlir::TypeAttr' to '::mlir::Type' for 5th argument
 4539 |   static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type omp_ptr, ::mlir::Value var_ptr, ::mlir::Type var_type, /*optional*/::mlir::Value var_ptr_ptr, ::mlir::ValueRange members, /*optional*/::mlir::ArrayAttr members_index, ::mlir::ValueRange bounds, /*optional*/::mlir::IntegerAttr map_type, /*optional*/::mlir::omp::VariableCaptureKindAttr map_capture_type, /*optional*/::mlir::StringAttr name, bool partial_map = false);
      |               ^                                                                                                                   ~~~~~~~~~~~~~~~~~~~~~
tools/mlir/include/mlir/Dialect/OpenMP/OpenMPOps.h.inc:4538:15: note: candidate function not viable: no known conversion from 'mlir::DenseIntElementsAttr' to '::mlir::ArrayAttr' for 8th argument
 4538 |   static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value var_ptr, ::mlir::TypeAttr var_type, /*optional*/::mlir::Value var_ptr_ptr, ::mlir::ValueRange members, /*optional*/::mlir::ArrayAttr members_index, ::mlir::ValueRange bounds, /*optional*/::mlir::IntegerAttr map_type, /*optional*/::mlir::omp::VariableCaptureKindAttr map_capture_type, /*optional*/::mlir::StringAttr name, ::mlir::BoolAttr partial_map);
      |               ^                                                                                                                                                                                                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tools/mlir/include/mlir/Dialect/OpenMP/OpenMPOps.h.inc:4540:15: note: candidate function not viable: no known conversion from 'mlir::TypeAttr' to '::mlir::Type' for 5th argument
 4540 |   static void build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value var_ptr, ::mlir::Type var_type, /*optional*/::mlir::Value var_ptr_ptr, ::mlir::ValueRange members, /*optional*/::mlir::ArrayAttr members_index, ::mlir::ValueRange bounds, /*optional*/::mlir::IntegerAttr map_type, /*optional*/::mlir::omp::VariableCaptureKindAttr map_capture_type, /*optional*/::mlir::StringAttr name, bool partial_map = false);
      |               ^                                                                                                                            ~~~~~~~~~~~~~~~~~~~~~
tools/mlir/include/mlir/Dialect/OpenMP/OpenMPOps.h.inc:4541:15: note: candidate function not viable: requires at most 5 arguments, but 13 were provided
 4541 |   static void build(::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
      |               ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
210.734 [673/44/6226] Building CXX object tools/flang/lib/Optimizer/Analysis/CMakeFiles/FIRAnalysis.dir/AliasAnalysis.cpp.o
211.421 [673/43/6227] Building CXX object tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/FunctionFiltering.cpp.o
211.490 [673/42/6228] Linking CXX executable bin/f18-parse-demo
213.548 [673/41/6229] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/CompilerGeneratedNames.cpp.o
215.167 [673/40/6230] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/AnnotateConstant.cpp.o
215.285 [673/39/6231] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/AffinePromotion.cpp.o
217.824 [673/38/6232] Building CXX object tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MapInfoFinalization.cpp.o
FAILED: tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MapInfoFinalization.cpp.o 
/usr/local/bin/c++ -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/tcwg-buildbot/worker/flang-aarch64-rel-assert/build/tools/flang/lib/Optimizer/OpenMP -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/flang/lib/Optimizer/OpenMP -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/flang/include -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/build/tools/flang/include -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/llvm/include -isystem /home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/llvm/../mlir/include -isystem /home/tcwg-buildbot/worker/flang-aarch64-rel-assert/build/tools/mlir/include -isystem /home/tcwg-buildbot/worker/flang-aarch64-rel-assert/build/tools/clang/include -isystem /home/tcwg-buildbot/worker/flang-aarch64-rel-assert/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 -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/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MapInfoFinalization.cpp.o -MF tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MapInfoFinalization.cpp.o.d -o tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MapInfoFinalization.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
In file included from ../llvm-project/flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp:27:

```

</details>

https://github.com/llvm/llvm-project/pull/113556


More information about the Mlir-commits mailing list