[Mlir-commits] [mlir] [OpenMP][MLIR] Descriptor explicit member map lowering changes (PR #113556)
LLVM Continuous Integration
llvmlistbot at llvm.org
Sat Nov 16 03:37:53 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-aarch64-latest-gcc` running on `linaro-flang-aarch64-latest-gcc` while building `mlir` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/130/builds/6265
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
136.608 [667/38/6585] Linking CXX executable bin/mlir-lsp-server
136.631 [667/37/6586] Building CXX object tools/mlir/tools/mlir-opt/CMakeFiles/mlir-opt.dir/mlir-opt.cpp.o
137.896 [667/36/6587] Linking CXX shared library lib/libMLIRMlirOptMain.so.20.0git
138.123 [667/35/6588] Building CXX object tools/flang/lib/Optimizer/CodeGen/CMakeFiles/FIRCodeGen.dir/CodeGenOpenMP.cpp.o
138.861 [667/34/6589] Building CXX object tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/FunctionFiltering.cpp.o
139.073 [667/33/6590] Building CXX object tools/mlir/examples/transform-opt/CMakeFiles/mlir-transform-opt.dir/mlir-transform-opt.cpp.o
139.130 [656/43/6591] Creating library symlink lib/libMLIRMlirOptMain.so
139.130 [656/42/6592] Creating library symlink lib/libFortranSemantics.so
139.230 [656/41/6593] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/MemoryUtils.cpp.o
139.233 [656/40/6594] 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-latest-gcc/build/tools/flang/lib/Optimizer/OpenMP -I/home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/llvm-project/flang/lib/Optimizer/OpenMP -I/home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/llvm-project/flang/include -I/home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/build/tools/flang/include -I/home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/llvm-project/llvm/include -isystem /home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/llvm-project/llvm/../mlir/include -isystem /home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/build/tools/mlir/include -isystem /home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/build/tools/clang/include -isystem /home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/llvm-project/llvm/../clang/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-deprecated-copy -Wno-ctad-maybe-unsupported -fno-strict-aliasing -fno-semantic-interposition -O3 -DNDEBUG -fno-semantic-interposition -std=c++17 -fPIC -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-latest-gcc/llvm-project/flang/lib/Optimizer/OpenMP/MapsForPrivatizedSymbols.cpp
In file included from ../llvm-project/mlir/include/mlir/Interfaces/InferTypeOpInterface.h:18,
from ../llvm-project/mlir/include/mlir/Dialect/Arith/IR/Arith.h:19,
from ../llvm-project/flang/include/flang/Optimizer/Dialect/FIROps.h:17,
from ../llvm-project/flang/include/flang/Optimizer/Builder/FIRBuilder.h:20,
from ../llvm-project/flang/lib/Optimizer/OpenMP/MapsForPrivatizedSymbols.cpp:26:
../llvm-project/mlir/include/mlir/IR/Builders.h: In instantiation of ‘OpTy mlir::OpBuilder::create(mlir::Location, Args&& ...) [with OpTy
= mlir::omp::MapInfoOp; Args = {mlir::Type, mlir::Value&, mlir::TypeAttr, mlir::Value, llvm::SmallVector<mlir::Value, 6>, mlir::DenseIntElementsAttr, mlir::ValueRange, mlir::IntegerAttr, mlir::omp::VariableCaptureKindAttr, mlir::StringAttr, mlir::BoolAttr}]’:
../llvm-project/flang/lib/Optimizer/OpenMP/MapsForPrivatizedSymbols.cpp:89:42: required from here
../llvm-project/mlir/include/mlir/IR/Builders.h:517:16: error: no matching function for call to ‘mlir::omp::MapInfoOp::build(mlir::OpBuilder&, mlir::OperationState&, 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)’
517 | OpTy::build(*this, state, std::forward<Args>(args)...);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../llvm-project/mlir/include/mlir/Dialect/OpenMP/OpenMPDialect.h:38,
from ../llvm-project/flang/lib/Optimizer/OpenMP/MapsForPrivatizedSymbols.cpp:32:
tools/mlir/include/mlir/Dialect/OpenMP/OpenMPOps.h.inc:4537:15: note: candidate: ‘static void mlir::omp::MapInfoOp::build(mlir::OpBuilder&, mlir::OperationState&, mlir::Type, mlir::Value, mlir::TypeAttr, mlir::Value, mlir::ValueRange, mlir::ArrayAttr, mlir::ValueRange, mlir::IntegerAttr, mlir::omp::VariableCaptureKindAttr, mlir::StringAttr, mlir::BoolAttr)’
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:4537:255: note: no known conversion for argument 8 from ‘mlir::DenseIntElementsAttr’ to ‘mlir::ArrayAttr’
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:4538:15: note: candidate: ‘static void mlir::omp::MapInfoOp::build(mlir::OpBuilder&, mlir::OperationState&, mlir::TypeRange, mlir::Value, mlir::TypeAttr, mlir::Value, mlir::ValueRange, mlir::ArrayAttr, mlir::ValueRange, mlir::IntegerAttr, mlir::omp::VariableCaptureKindAttr, mlir::StringAttr, mlir::BoolAttr)’
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:4538:264: note: no known conversion for argument 8 from ‘mlir::DenseIntElementsAttr’ to ‘mlir::ArrayAttr’
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:4539:15: note: candidate: ‘static void mlir::omp::MapInfoOp::build(mlir::OpBuilder&, mlir::OperationState&, mlir::Type, mlir::Value, mlir::Type, mlir::Value, mlir::ValueRange, mlir::ArrayAttr, mlir::ValueRange, mlir::IntegerAttr, mlir::omp::VariableCaptureKindAttr, mlir::StringAttr, bool)’
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:4539:144: note: no known conversion for argument 5 from ‘mlir::TypeAttr’ to ‘mlir::Type’
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:4540:15: note: candidate: ‘static void mlir::omp::MapInfoOp::build(mlir::OpBuilder&, mlir::OperationState&, mlir::TypeRange, mlir::Value, mlir::Type, mlir::Value, mlir::ValueRange, mlir::ArrayAttr, mlir::ValueRange, mlir::IntegerAttr, mlir::omp::VariableCaptureKindAttr, mlir::StringAttr, bool)’
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:4540:153: note: no known conversion for argument 5 from ‘mlir::TypeAttr’ to ‘mlir::Type’
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);
```
</details>
https://github.com/llvm/llvm-project/pull/113556
More information about the Mlir-commits
mailing list