[Mlir-commits] [mlir] [mlir][transform] extract a minimal DomainAndOperandsAffineMapT… (PR #145034)

LLVM Continuous Integration llvmlistbot at llvm.org
Fri Jun 20 06:53:17 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `flang-arm64-windows-msvc` running on `linaro-armv8-windows-msvc-01` while building `mlir` at step 5 "build-unified-tree".

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

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

```
Step 5 (build-unified-tree) failure: build (failure)
...
  359 |       return {APFloat(*smt, value.real()), APFloat(*smt, value.imag())};
      |              ^
c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\complex(1315,5): note: 'complex' has been explicitly marked deprecated here
 1315 |     _DEPRECATE_NONFLOATING_COMPLEX
      |     ^
c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\yvals_core.h(1450,7): note: expanded from macro '_DEPRECATE_NONFLOATING_COMPLEX'
 1450 |     [[deprecated("warning STL4037: "                                                   \
      |       ^
1 warning generated.
247.059 [182/10/200] Building CXX object tools/mlir/test/lib/Dialect/Test/CMakeFiles/MLIRTestDialect.dir/TestOps.15.cpp.obj
FAILED: tools/mlir/test/lib/Dialect/Test/CMakeFiles/MLIRTestDialect.dir/TestOps.15.cpp.obj 
ccache C:\Users\tcwg\scoop\apps\llvm-arm64\current\bin\clang-cl.exe  /nologo -TP -DGTEST_HAS_RTTI=0 -DMLIR_INCLUDE_TESTS -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/tools/mlir/test/lib/Dialect/Test -IC:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/llvm-project/mlir/test/lib/Dialect/Test -IC:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/tools/mlir/include -IC:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/llvm-project/mlir/include -IC:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/include -IC:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/llvm-project/llvm/include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4  -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported /Gw -Wundef -Werror=mismatched-tags /O2 /Ob2  -std:c++17 -MD  /EHs-c- /GR- -UNDEBUG /showIncludes /Fotools/mlir/test/lib/Dialect/Test/CMakeFiles/MLIRTestDialect.dir/TestOps.15.cpp.obj /Fdtools\mlir\test\lib\Dialect\Test\CMakeFiles\MLIRTestDialect.dir\MLIRTestDialect.pdb -c -- C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/tools/mlir/test/lib/Dialect/Test/TestOps.15.cpp
In file included from C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/tools/mlir/test/lib/Dialect/Test/TestOps.15.cpp:10:
In file included from C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/llvm-project/mlir/test/lib/Dialect/Test\TestOps.h:12:
In file included from C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/llvm-project/mlir/test/lib/Dialect/Test\TestAttributes.h:20:
In file included from C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/llvm-project/mlir/include\mlir/Dialect/Ptr/IR/MemorySpaceInterfaces.h:17:
C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/llvm-project/mlir/include\mlir/IR/BuiltinAttributes.h(359,14): warning: 'complex' is deprecated: warning STL4037: The effect of instantiating the template std::complex for any type other than float, double, or long double is unspecified. You can define _SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING to suppress this warning. [-Wdeprecated-declarations]
  359 |       return {APFloat(*smt, value.real()), APFloat(*smt, value.imag())};
      |              ^
c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\complex(1315,5): note: 'complex' has been explicitly marked deprecated here
 1315 |     _DEPRECATE_NONFLOATING_COMPLEX
      |     ^
c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\yvals_core.h(1450,7): note: expanded from macro '_DEPRECATE_NONFLOATING_COMPLEX'
 1450 |     [[deprecated("warning STL4037: "                                                   \
      |       ^
In file included from C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/tools/mlir/test/lib/Dialect/Test/TestOps.15.cpp:10:
In file included from C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/llvm-project/mlir/test/lib/Dialect/Test\TestOps.h:21:
In file included from C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/llvm-project/mlir/include\mlir/Dialect/Linalg/IR/Linalg.h:114:
In file included from C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/llvm-project/mlir/include\mlir/Dialect/Linalg/IR/LinalgInterfaces.h:222:
C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/tools/mlir/include\mlir/Dialect/Linalg/IR/LinalgInterfaces.h.inc(1147,84): error: no member named 'getIndexingMapsArray' in 'test::TestLinalgConvOp'
 1147 |         for (auto [i, idxMap] : llvm::enumerate((*static_cast<ConcreteOp *>(this)).getIndexingMapsArray())) {
      |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/tools/mlir/include\mlir/Dialect/Linalg/IR/LinalgInterfaces.h.inc(1620,56): note: in instantiation of member function 'mlir::linalg::detail::LinalgOpTrait<test::TestLinalgConvOp>::mapIterationSpaceDimToOperandDim' requested here
 1620 |   return (llvm::cast<ConcreteOp>(tablegen_opaque_val)).mapIterationSpaceDimToOperandDim(dimPos, operand, operandDimPos);
      |                                                        ^
C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/tools/mlir/include\mlir/Dialect/Linalg/IR/LinalgInterfaces.h.inc(448,562): note: in instantiation of member function 'mlir::linalg::detail::LinalgOpInterfaceTraits::Model<test::TestLinalgConvOp>::mapIterationSpaceDimToOperandDim' requested here
  448 |     Model() : Concept{getNumParallelLoops, isAllParallelLoops, getParallelDims, getNumReductionLoops, getReductionDims, getNumLoops, hasSingleReductionLoop, payloadUsesValueFromOperand, isSingleInputOutput, isInitTensor, getRank, getRegionInputArgs, getRegionOutputArgs, getShape, getMatchingBlockArgument, getMatchingOpOperand, getIndexingMapMatchingResult, getMatchingYieldValue, getBlock, getIteratorTypesArray, hasDynamicIndexingMaps, verifyIndexingMapRequiredAttributes, hasDynamicShape, getLibraryCallName, hasIndexSemantics, getOpOperandsMatchingBBargs, mapIterationSpaceDimToOperandDim, mapIterationSpaceDimToAllOperandDims, hasUserDefinedMaps, getLoopsToShapesMap, getShapesToLoopsMap, canOpOperandsBeDropped, getStaticShape, getStaticLoopRanges, getRegionBuilder, hasOnlyProjectedPermutations} {}
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ^
C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/llvm-project/mlir/include\mlir/Support/InterfaceSupport.h(238,46): note: in instantiation of member function 'mlir::linalg::detail::LinalgOpInterfaceTraits::Model<test::TestLinalgConvOp>::Model' requested here
  238 |         new (malloc(sizeof(InterfaceModel))) InterfaceModel();
      |                                              ^
C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/llvm-project/mlir/include\mlir/Support/InterfaceSupport.h(225,7): note: in instantiation of function template specialization 'mlir::detail::InterfaceMap::insertModel<mlir::linalg::detail::LinalgOpInterfaceTraits::Model<test::TestLinalgConvOp>>' requested here
  225 |       insertModel<typename T::ModelT>();
      |       ^
C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/llvm-project/mlir/include\mlir/Support/InterfaceSupport.h(199,10): note: in instantiation of function template specialization 'mlir::detail::InterfaceMap::insertPotentialInterface<mlir::linalg::LinalgOp::Trait<test::TestLinalgConvOp>>' requested here
  199 |     (map.insertPotentialInterface<Types>(), ...);
      |          ^
C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/llvm-project/mlir/include\mlir/IR/OpDefinition.h(1876,43): note: in instantiation of function template specialization 'mlir::detail::InterfaceMap::get<mlir::OpTrait::OneRegion<test::TestLinalgConvOp>, mlir::OpTrait::VariadicResults<test::TestLinalgConvOp>, mlir::OpTrait::ZeroSuccessors<test::TestLinalgConvOp>, mlir::OpTrait::VariadicOperands<test::TestLinalgConvOp>, mlir::OpTrait::AttrSizedOperandSegments<test::TestLinalgConvOp>, mlir::OpTrait::SingleBlock<test::TestLinalgConvOp>, mlir::OpTrait::OpInvariants<test::TestLinalgConvOp>, mlir::BytecodeOpInterface::Trait<test::TestLinalgConvOp>, mlir::DestinationStyleOpInterface::Trait<test::TestLinalgConvOp>, mlir::linalg::LinalgOp::Trait<test::TestLinalgConvOp>, mlir::linalg::ConvolutionOpInterface::Trait<test::TestLinalgConvOp>>' requested here
 1876 |     return detail::InterfaceMap::template get<Traits<ConcreteType>...>();

```

</details>

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


More information about the Mlir-commits mailing list