[Mlir-commits] [mlir] [mlir][math] Add vector support for math-to-apfloat (PR #172715)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Jan 9 11:36:03 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
The build failed before running any tests. Click on a failure below to see the details.
<details>
<summary>tools/mlir/lib/Conversion/ArithAndMathToAPFloat/CMakeFiles/obj.MLIRArithToAPFloat.dir/ArithToAPFloat.cpp.o</summary>
```
FAILED: tools/mlir/lib/Conversion/ArithAndMathToAPFloat/CMakeFiles/obj.MLIRArithToAPFloat.dir/ArithToAPFloat.cpp.o
sccache /opt/llvm/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/lib/Conversion/ArithAndMathToAPFloat -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -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 -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -Werror=global-constructors -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/mlir/lib/Conversion/ArithAndMathToAPFloat/CMakeFiles/obj.MLIRArithToAPFloat.dir/ArithToAPFloat.cpp.o -MF tools/mlir/lib/Conversion/ArithAndMathToAPFloat/CMakeFiles/obj.MLIRArithToAPFloat.dir/ArithToAPFloat.cpp.o.d -o tools/mlir/lib/Conversion/ArithAndMathToAPFloat/CMakeFiles/obj.MLIRArithToAPFloat.dir/ArithToAPFloat.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp:58:9: error: field 'sourceTypes' will be initialized after field 'APFloatName' [-Werror,-Wreorder-ctor]
58 | sourceTypes(sourceTypes), APFloatName(APFloatName) {};
| ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
| APFloatName(APFloatName sourceTypes(sourceTypes)
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:1070:34: note: in instantiation of member function 'BinaryArithOpToAPFloatConversion<mlir::arith::AddFOp>::BinaryArithOpToAPFloatConversion' requested here
1070 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:256:14: note: in instantiation of function template specialization 'std::make_unique<BinaryArithOpToAPFloatConversion<mlir::arith::AddFOp>, mlir::MLIRContext *&, const char (&)[4], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
256 | std::make_unique<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:1007:25: note: in instantiation of function template specialization 'mlir::RewritePattern::create<BinaryArithOpToAPFloatConversion<mlir::arith::AddFOp>, mlir::MLIRContext *&, const char (&)[4], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
1007 | RewritePattern::create<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:864:6: note: in instantiation of function template specialization 'mlir::RewritePatternSet::addImpl<BinaryArithOpToAPFloatConversion<mlir::arith::AddFOp>, mlir::MLIRContext *&, const char (&)[4], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
864 | (addImpl<Ts>(/*debugLabels=*/{}, std::forward<ConstructorArg>(arg),
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp:533:12: note: in instantiation of function template specialization 'mlir::RewritePatternSet::add<BinaryArithOpToAPFloatConversion<mlir::arith::AddFOp>, mlir::MLIRContext *&, const char (&)[4], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &, void>' requested here
533 | patterns.add<BinaryArithOpToAPFloatConversion<arith::AddFOp>>(
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp:58:9: error: field 'sourceTypes' will be initialized after field 'APFloatName' [-Werror,-Wreorder-ctor]
58 | sourceTypes(sourceTypes), APFloatName(APFloatName) {};
| ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
| APFloatName(APFloatName sourceTypes(sourceTypes)
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:1070:34: note: in instantiation of member function 'BinaryArithOpToAPFloatConversion<mlir::arith::SubFOp>::BinaryArithOpToAPFloatConversion' requested here
1070 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:256:14: note: in instantiation of function template specialization 'std::make_unique<BinaryArithOpToAPFloatConversion<mlir::arith::SubFOp>, mlir::MLIRContext *&, const char (&)[9], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
256 | std::make_unique<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:1007:25: note: in instantiation of function template specialization 'mlir::RewritePattern::create<BinaryArithOpToAPFloatConversion<mlir::arith::SubFOp>, mlir::MLIRContext *&, const char (&)[9], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
1007 | RewritePattern::create<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:864:6: note: in instantiation of function template specialization 'mlir::RewritePatternSet::addImpl<BinaryArithOpToAPFloatConversion<mlir::arith::SubFOp>, mlir::MLIRContext *&, const char (&)[9], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
864 | (addImpl<Ts>(/*debugLabels=*/{}, std::forward<ConstructorArg>(arg),
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp:535:12: note: in instantiation of function template specialization 'mlir::RewritePatternSet::add<BinaryArithOpToAPFloatConversion<mlir::arith::SubFOp>, mlir::MLIRContext *&, const char (&)[9], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &, void>' requested here
535 | patterns.add<BinaryArithOpToAPFloatConversion<arith::SubFOp>>(
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp:58:9: error: field 'sourceTypes' will be initialized after field 'APFloatName' [-Werror,-Wreorder-ctor]
58 | sourceTypes(sourceTypes), APFloatName(APFloatName) {};
| ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
| APFloatName(APFloatName sourceTypes(sourceTypes)
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:1070:34: note: in instantiation of member function 'BinaryArithOpToAPFloatConversion<mlir::arith::MulFOp>::BinaryArithOpToAPFloatConversion' requested here
1070 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:256:14: note: in instantiation of function template specialization 'std::make_unique<BinaryArithOpToAPFloatConversion<mlir::arith::MulFOp>, mlir::MLIRContext *&, const char (&)[9], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
256 | std::make_unique<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:1007:25: note: in instantiation of function template specialization 'mlir::RewritePattern::create<BinaryArithOpToAPFloatConversion<mlir::arith::MulFOp>, mlir::MLIRContext *&, const char (&)[9], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
1007 | RewritePattern::create<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:864:6: note: in instantiation of function template specialization 'mlir::RewritePatternSet::addImpl<BinaryArithOpToAPFloatConversion<mlir::arith::MulFOp>, mlir::MLIRContext *&, const char (&)[9], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
864 | (addImpl<Ts>(/*debugLabels=*/{}, std::forward<ConstructorArg>(arg),
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp:537:12: note: in instantiation of function template specialization 'mlir::RewritePatternSet::add<BinaryArithOpToAPFloatConversion<mlir::arith::MulFOp>, mlir::MLIRContext *&, const char (&)[9], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &, void>' requested here
537 | patterns.add<BinaryArithOpToAPFloatConversion<arith::MulFOp>>(
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp:58:9: error: field 'sourceTypes' will be initialized after field 'APFloatName' [-Werror,-Wreorder-ctor]
58 | sourceTypes(sourceTypes), APFloatName(APFloatName) {};
| ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
| APFloatName(APFloatName sourceTypes(sourceTypes)
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:1070:34: note: in instantiation of member function 'BinaryArithOpToAPFloatConversion<mlir::arith::DivFOp>::BinaryArithOpToAPFloatConversion' requested here
1070 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:256:14: note: in instantiation of function template specialization 'std::make_unique<BinaryArithOpToAPFloatConversion<mlir::arith::DivFOp>, mlir::MLIRContext *&, const char (&)[7], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
256 | std::make_unique<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:1007:25: note: in instantiation of function template specialization 'mlir::RewritePattern::create<BinaryArithOpToAPFloatConversion<mlir::arith::DivFOp>, mlir::MLIRContext *&, const char (&)[7], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
1007 | RewritePattern::create<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:864:6: note: in instantiation of function template specialization 'mlir::RewritePatternSet::addImpl<BinaryArithOpToAPFloatConversion<mlir::arith::DivFOp>, mlir::MLIRContext *&, const char (&)[7], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
864 | (addImpl<Ts>(/*debugLabels=*/{}, std::forward<ConstructorArg>(arg),
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp:539:12: note: in instantiation of function template specialization 'mlir::RewritePatternSet::add<BinaryArithOpToAPFloatConversion<mlir::arith::DivFOp>, mlir::MLIRContext *&, const char (&)[7], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &, void>' requested here
539 | patterns.add<BinaryArithOpToAPFloatConversion<arith::DivFOp>>(
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp:58:9: error: field 'sourceTypes' will be initialized after field 'APFloatName' [-Werror,-Wreorder-ctor]
58 | sourceTypes(sourceTypes), APFloatName(APFloatName) {};
| ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
| APFloatName(APFloatName sourceTypes(sourceTypes)
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:1070:34: note: in instantiation of member function 'BinaryArithOpToAPFloatConversion<mlir::arith::RemFOp>::BinaryArithOpToAPFloatConversion' requested here
1070 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:256:14: note: in instantiation of function template specialization 'std::make_unique<BinaryArithOpToAPFloatConversion<mlir::arith::RemFOp>, mlir::MLIRContext *&, const char (&)[10], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
256 | std::make_unique<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:1007:25: note: in instantiation of function template specialization 'mlir::RewritePattern::create<BinaryArithOpToAPFloatConversion<mlir::arith::RemFOp>, mlir::MLIRContext *&, const char (&)[10], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
1007 | RewritePattern::create<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:864:6: note: in instantiation of function template specialization 'mlir::RewritePatternSet::addImpl<BinaryArithOpToAPFloatConversion<mlir::arith::RemFOp>, mlir::MLIRContext *&, const char (&)[10], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
864 | (addImpl<Ts>(/*debugLabels=*/{}, std::forward<ConstructorArg>(arg),
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp:541:12: note: in instantiation of function template specialization 'mlir::RewritePatternSet::add<BinaryArithOpToAPFloatConversion<mlir::arith::RemFOp>, mlir::MLIRContext *&, const char (&)[10], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &, void>' requested here
541 | patterns.add<BinaryArithOpToAPFloatConversion<arith::RemFOp>>(
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp:58:9: error: field 'sourceTypes' will be initialized after field 'APFloatName' [-Werror,-Wreorder-ctor]
58 | sourceTypes(sourceTypes), APFloatName(APFloatName) {};
| ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
| APFloatName(APFloatName sourceTypes(sourceTypes)
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:1070:34: note: in instantiation of member function 'BinaryArithOpToAPFloatConversion<mlir::arith::MinNumFOp>::BinaryArithOpToAPFloatConversion' requested here
1070 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:256:14: note: in instantiation of function template specialization 'std::make_unique<BinaryArithOpToAPFloatConversion<mlir::arith::MinNumFOp>, mlir::MLIRContext *&, const char (&)[7], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
256 | std::make_unique<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:1007:25: note: in instantiation of function template specialization 'mlir::RewritePattern::create<BinaryArithOpToAPFloatConversion<mlir::arith::MinNumFOp>, mlir::MLIRContext *&, const char (&)[7], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
1007 | RewritePattern::create<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:864:6: note: in instantiation of function template specialization 'mlir::RewritePatternSet::addImpl<BinaryArithOpToAPFloatConversion<mlir::arith::MinNumFOp>, mlir::MLIRContext *&, const char (&)[7], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
864 | (addImpl<Ts>(/*debugLabels=*/{}, std::forward<ConstructorArg>(arg),
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp:543:12: note: in instantiation of function template specialization 'mlir::RewritePatternSet::add<BinaryArithOpToAPFloatConversion<mlir::arith::MinNumFOp>, mlir::MLIRContext *&, const char (&)[7], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &, void>' requested here
543 | patterns.add<BinaryArithOpToAPFloatConversion<arith::MinNumFOp>>(
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp:58:9: error: field 'sourceTypes' will be initialized after field 'APFloatName' [-Werror,-Wreorder-ctor]
58 | sourceTypes(sourceTypes), APFloatName(APFloatName) {};
| ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
| APFloatName(APFloatName sourceTypes(sourceTypes)
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:1070:34: note: in instantiation of member function 'BinaryArithOpToAPFloatConversion<mlir::arith::MaxNumFOp>::BinaryArithOpToAPFloatConversion' requested here
1070 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:256:14: note: in instantiation of function template specialization 'std::make_unique<BinaryArithOpToAPFloatConversion<mlir::arith::MaxNumFOp>, mlir::MLIRContext *&, const char (&)[7], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
256 | std::make_unique<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:1007:25: note: in instantiation of function template specialization 'mlir::RewritePattern::create<BinaryArithOpToAPFloatConversion<mlir::arith::MaxNumFOp>, mlir::MLIRContext *&, const char (&)[7], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
1007 | RewritePattern::create<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:864:6: note: in instantiation of function template specialization 'mlir::RewritePatternSet::addImpl<BinaryArithOpToAPFloatConversion<mlir::arith::MaxNumFOp>, mlir::MLIRContext *&, const char (&)[7], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
864 | (addImpl<Ts>(/*debugLabels=*/{}, std::forward<ConstructorArg>(arg),
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp:545:12: note: in instantiation of function template specialization 'mlir::RewritePatternSet::add<BinaryArithOpToAPFloatConversion<mlir::arith::MaxNumFOp>, mlir::MLIRContext *&, const char (&)[7], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &, void>' requested here
545 | patterns.add<BinaryArithOpToAPFloatConversion<arith::MaxNumFOp>>(
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp:58:9: error: field 'sourceTypes' will be initialized after field 'APFloatName' [-Werror,-Wreorder-ctor]
58 | sourceTypes(sourceTypes), APFloatName(APFloatName) {};
| ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
| APFloatName(APFloatName sourceTypes(sourceTypes)
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:1070:34: note: in instantiation of member function 'BinaryArithOpToAPFloatConversion<mlir::arith::MinimumFOp>::BinaryArithOpToAPFloatConversion' requested here
1070 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:256:14: note: in instantiation of function template specialization 'std::make_unique<BinaryArithOpToAPFloatConversion<mlir::arith::MinimumFOp>, mlir::MLIRContext *&, const char (&)[8], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
256 | std::make_unique<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:1007:25: note: in instantiation of function template specialization 'mlir::RewritePattern::create<BinaryArithOpToAPFloatConversion<mlir::arith::MinimumFOp>, mlir::MLIRContext *&, const char (&)[8], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
1007 | RewritePattern::create<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:864:6: note: in instantiation of function template specialization 'mlir::RewritePatternSet::addImpl<BinaryArithOpToAPFloatConversion<mlir::arith::MinimumFOp>, mlir::MLIRContext *&, const char (&)[8], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
864 | (addImpl<Ts>(/*debugLabels=*/{}, std::forward<ConstructorArg>(arg),
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp:547:12: note: in instantiation of function template specialization 'mlir::RewritePatternSet::add<BinaryArithOpToAPFloatConversion<mlir::arith::MinimumFOp>, mlir::MLIRContext *&, const char (&)[8], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &, void>' requested here
547 | patterns.add<BinaryArithOpToAPFloatConversion<arith::MinimumFOp>>(
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp:58:9: error: field 'sourceTypes' will be initialized after field 'APFloatName' [-Werror,-Wreorder-ctor]
58 | sourceTypes(sourceTypes), APFloatName(APFloatName) {};
| ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
| APFloatName(APFloatName sourceTypes(sourceTypes)
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:1070:34: note: in instantiation of member function 'BinaryArithOpToAPFloatConversion<mlir::arith::MaximumFOp>::BinaryArithOpToAPFloatConversion' requested here
1070 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:256:14: note: in instantiation of function template specialization 'std::make_unique<BinaryArithOpToAPFloatConversion<mlir::arith::MaximumFOp>, mlir::MLIRContext *&, const char (&)[8], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
256 | std::make_unique<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:1007:25: note: in instantiation of function template specialization 'mlir::RewritePattern::create<BinaryArithOpToAPFloatConversion<mlir::arith::MaximumFOp>, mlir::MLIRContext *&, const char (&)[8], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
1007 | RewritePattern::create<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:864:6: note: in instantiation of function template specialization 'mlir::RewritePatternSet::addImpl<BinaryArithOpToAPFloatConversion<mlir::arith::MaximumFOp>, mlir::MLIRContext *&, const char (&)[8], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
864 | (addImpl<Ts>(/*debugLabels=*/{}, std::forward<ConstructorArg>(arg),
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp:549:12: note: in instantiation of function template specialization 'mlir::RewritePatternSet::add<BinaryArithOpToAPFloatConversion<mlir::arith::MaximumFOp>, mlir::MLIRContext *&, const char (&)[8], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &, void>' requested here
549 | patterns.add<BinaryArithOpToAPFloatConversion<arith::MaximumFOp>>(
| ^
9 errors generated.
```
</details>
<details>
<summary>tools/mlir/lib/Conversion/ArithAndMathToAPFloat/CMakeFiles/obj.MLIRMathToAPFloat.dir/MathToAPFloat.cpp.o</summary>
```
FAILED: tools/mlir/lib/Conversion/ArithAndMathToAPFloat/CMakeFiles/obj.MLIRMathToAPFloat.dir/MathToAPFloat.cpp.o
sccache /opt/llvm/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/lib/Conversion/ArithAndMathToAPFloat -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -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 -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -Werror=global-constructors -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/mlir/lib/Conversion/ArithAndMathToAPFloat/CMakeFiles/obj.MLIRMathToAPFloat.dir/MathToAPFloat.cpp.o -MF tools/mlir/lib/Conversion/ArithAndMathToAPFloat/CMakeFiles/obj.MLIRMathToAPFloat.dir/MathToAPFloat.cpp.o.d -o tools/mlir/lib/Conversion/ArithAndMathToAPFloat/CMakeFiles/obj.MLIRMathToAPFloat.dir/MathToAPFloat.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/MathToAPFloat.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/MathToAPFloat.cpp:87:9: error: field 'sourceTypes' will be initialized after field 'APFloatName' [-Werror,-Wreorder-ctor]
87 | sourceTypes(sourceTypes), APFloatName(APFloatName) {};
| ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
| APFloatName(APFloatName sourceTypes(sourceTypes)
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:1070:34: note: in instantiation of member function 'IsOpToAPFloatConversion<mlir::math::IsFiniteOp>::IsOpToAPFloatConversion' requested here
1070 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:256:14: note: in instantiation of function template specialization 'std::make_unique<IsOpToAPFloatConversion<mlir::math::IsFiniteOp>, mlir::MLIRContext *&, const char (&)[7], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
256 | std::make_unique<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:1007:25: note: in instantiation of function template specialization 'mlir::RewritePattern::create<IsOpToAPFloatConversion<mlir::math::IsFiniteOp>, mlir::MLIRContext *&, const char (&)[7], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
1007 | RewritePattern::create<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:864:6: note: in instantiation of function template specialization 'mlir::RewritePatternSet::addImpl<IsOpToAPFloatConversion<mlir::math::IsFiniteOp>, mlir::MLIRContext *&, const char (&)[7], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
864 | (addImpl<Ts>(/*debugLabels=*/{}, std::forward<ConstructorArg>(arg),
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/MathToAPFloat.cpp:237:12: note: in instantiation of function template specialization 'mlir::RewritePatternSet::add<IsOpToAPFloatConversion<mlir::math::IsFiniteOp>, mlir::MLIRContext *&, const char (&)[7], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &, void>' requested here
237 | patterns.add<IsOpToAPFloatConversion<math::IsFiniteOp>>(
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/MathToAPFloat.cpp:87:9: error: field 'sourceTypes' will be initialized after field 'APFloatName' [-Werror,-Wreorder-ctor]
87 | sourceTypes(sourceTypes), APFloatName(APFloatName) {};
| ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
| APFloatName(APFloatName sourceTypes(sourceTypes)
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:1070:34: note: in instantiation of member function 'IsOpToAPFloatConversion<mlir::math::IsInfOp>::IsOpToAPFloatConversion' requested here
1070 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:256:14: note: in instantiation of function template specialization 'std::make_unique<IsOpToAPFloatConversion<mlir::math::IsInfOp>, mlir::MLIRContext *&, const char (&)[9], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
256 | std::make_unique<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:1007:25: note: in instantiation of function template specialization 'mlir::RewritePattern::create<IsOpToAPFloatConversion<mlir::math::IsInfOp>, mlir::MLIRContext *&, const char (&)[9], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
1007 | RewritePattern::create<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:864:6: note: in instantiation of function template specialization 'mlir::RewritePatternSet::addImpl<IsOpToAPFloatConversion<mlir::math::IsInfOp>, mlir::MLIRContext *&, const char (&)[9], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
864 | (addImpl<Ts>(/*debugLabels=*/{}, std::forward<ConstructorArg>(arg),
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/MathToAPFloat.cpp:239:12: note: in instantiation of function template specialization 'mlir::RewritePatternSet::add<IsOpToAPFloatConversion<mlir::math::IsInfOp>, mlir::MLIRContext *&, const char (&)[9], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &, void>' requested here
239 | patterns.add<IsOpToAPFloatConversion<math::IsInfOp>>(
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/MathToAPFloat.cpp:87:9: error: field 'sourceTypes' will be initialized after field 'APFloatName' [-Werror,-Wreorder-ctor]
87 | sourceTypes(sourceTypes), APFloatName(APFloatName) {};
| ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
| APFloatName(APFloatName sourceTypes(sourceTypes)
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:1070:34: note: in instantiation of member function 'IsOpToAPFloatConversion<mlir::math::IsNaNOp>::IsOpToAPFloatConversion' requested here
1070 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:256:14: note: in instantiation of function template specialization 'std::make_unique<IsOpToAPFloatConversion<mlir::math::IsNaNOp>, mlir::MLIRContext *&, const char (&)[4], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
256 | std::make_unique<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:1007:25: note: in instantiation of function template specialization 'mlir::RewritePattern::create<IsOpToAPFloatConversion<mlir::math::IsNaNOp>, mlir::MLIRContext *&, const char (&)[4], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
1007 | RewritePattern::create<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:864:6: note: in instantiation of function template specialization 'mlir::RewritePatternSet::addImpl<IsOpToAPFloatConversion<mlir::math::IsNaNOp>, mlir::MLIRContext *&, const char (&)[4], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
864 | (addImpl<Ts>(/*debugLabels=*/{}, std::forward<ConstructorArg>(arg),
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/MathToAPFloat.cpp:241:12: note: in instantiation of function template specialization 'mlir::RewritePatternSet::add<IsOpToAPFloatConversion<mlir::math::IsNaNOp>, mlir::MLIRContext *&, const char (&)[4], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &, void>' requested here
241 | patterns.add<IsOpToAPFloatConversion<math::IsNaNOp>>(
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/MathToAPFloat.cpp:87:9: error: field 'sourceTypes' will be initialized after field 'APFloatName' [-Werror,-Wreorder-ctor]
87 | sourceTypes(sourceTypes), APFloatName(APFloatName) {};
| ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
| APFloatName(APFloatName sourceTypes(sourceTypes)
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:1070:34: note: in instantiation of member function 'IsOpToAPFloatConversion<mlir::math::IsNormalOp>::IsOpToAPFloatConversion' requested here
1070 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:256:14: note: in instantiation of function template specialization 'std::make_unique<IsOpToAPFloatConversion<mlir::math::IsNormalOp>, mlir::MLIRContext *&, const char (&)[7], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
256 | std::make_unique<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:1007:25: note: in instantiation of function template specialization 'mlir::RewritePattern::create<IsOpToAPFloatConversion<mlir::math::IsNormalOp>, mlir::MLIRContext *&, const char (&)[7], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
1007 | RewritePattern::create<T>(std::forward<Args>(args)...);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/PatternMatch.h:864:6: note: in instantiation of function template specialization 'mlir::RewritePatternSet::addImpl<IsOpToAPFloatConversion<mlir::math::IsNormalOp>, mlir::MLIRContext *&, const char (&)[7], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &>' requested here
864 | (addImpl<Ts>(/*debugLabels=*/{}, std::forward<ConstructorArg>(arg),
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Conversion/ArithAndMathToAPFloat/MathToAPFloat.cpp:243:12: note: in instantiation of function template specialization 'mlir::RewritePatternSet::add<IsOpToAPFloatConversion<mlir::math::IsNormalOp>, mlir::MLIRContext *&, const char (&)[7], mlir::ModuleOp, llvm::SmallVector<mlir::Type> &, void>' requested here
243 | patterns.add<IsOpToAPFloatConversion<math::IsNormalOp>>(
| ^
4 errors generated.
```
</details>
<details>
<summary>tools/mlir/lib/CAPI/Conversion/CMakeFiles/obj.MLIRCAPIConversion.dir/Passes.cpp.o</summary>
```
FAILED: tools/mlir/lib/CAPI/Conversion/CMakeFiles/obj.MLIRCAPIConversion.dir/Passes.cpp.o
sccache /opt/llvm/bin/clang++ -DGTEST_HAS_RTTI=0 -DMLIR_CAPI_BUILDING_LIBRARY=1 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/lib/CAPI/Conversion -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/CAPI/Conversion -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -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 -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/mlir/lib/CAPI/Conversion/CMakeFiles/obj.MLIRCAPIConversion.dir/Passes.cpp.o -MF tools/mlir/lib/CAPI/Conversion/CMakeFiles/obj.MLIRCAPIConversion.dir/Passes.cpp.o.d -o tools/mlir/lib/CAPI/Conversion/CMakeFiles/obj.MLIRCAPIConversion.dir/Passes.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/CAPI/Conversion/Passes.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/CAPI/Conversion/Passes.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Conversion/Passes.h:14:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.h:18:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Conversion/Passes.h.inc:198:11: error: too few template arguments for class template 'SmallVector'
198 | ::llvm::SmallVector<std::string> sourceTypeStrs;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Support/LLVM.h:72:7: note: template is declared here
71 | template <typename T, unsigned N>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | class SmallVector;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/CAPI/Conversion/Passes.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Conversion/Passes.h:15:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Conversion/ArithAndMathToAPFloat/MathToAPFloat.h:18:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Conversion/Passes.h.inc:6111:11: error: too few template arguments for class template 'SmallVector'
6111 | ::llvm::SmallVector<std::string> sourceTypeStrs;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Support/LLVM.h:72:7: note: template is declared here
71 | template <typename T, unsigned N>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | class SmallVector;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/lib/Dialect/SparseTensor/Pipelines/CMakeFiles/obj.MLIRSparseTensorPipelines.dir/SparseTensorPipelines.cpp.o</summary>
```
FAILED: tools/mlir/lib/Dialect/SparseTensor/Pipelines/CMakeFiles/obj.MLIRSparseTensorPipelines.dir/SparseTensorPipelines.cpp.o
sccache /opt/llvm/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/lib/Dialect/SparseTensor/Pipelines -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Dialect/SparseTensor/Pipelines -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -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 -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -Werror=global-constructors -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/mlir/lib/Dialect/SparseTensor/Pipelines/CMakeFiles/obj.MLIRSparseTensorPipelines.dir/SparseTensorPipelines.cpp.o -MF tools/mlir/lib/Dialect/SparseTensor/Pipelines/CMakeFiles/obj.MLIRSparseTensorPipelines.dir/SparseTensorPipelines.cpp.o.d -o tools/mlir/lib/Dialect/SparseTensor/Pipelines/CMakeFiles/obj.MLIRSparseTensorPipelines.dir/SparseTensorPipelines.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Dialect/SparseTensor/Pipelines/SparseTensorPipelines.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Dialect/SparseTensor/Pipelines/SparseTensorPipelines.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Conversion/Passes.h:14:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.h:18:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Conversion/Passes.h.inc:198:11: error: too few template arguments for class template 'SmallVector'
198 | ::llvm::SmallVector<std::string> sourceTypeStrs;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Support/LLVM.h:72:7: note: template is declared here
71 | template <typename T, unsigned N>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | class SmallVector;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Dialect/SparseTensor/Pipelines/SparseTensorPipelines.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Conversion/Passes.h:15:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Conversion/ArithAndMathToAPFloat/MathToAPFloat.h:18:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Conversion/Passes.h.inc:6111:11: error: too few template arguments for class template 'SmallVector'
6111 | ::llvm::SmallVector<std::string> sourceTypeStrs;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Support/LLVM.h:72:7: note: template is declared here
71 | template <typename T, unsigned N>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | class SmallVector;
| ^
2 errors generated.
```
</details>
<details>
<summary>tools/mlir/lib/CMakeFiles/obj.MLIRRegisterAllPasses.dir/RegisterAllPasses.cpp.o</summary>
```
FAILED: tools/mlir/lib/CMakeFiles/obj.MLIRRegisterAllPasses.dir/RegisterAllPasses.cpp.o
sccache /opt/llvm/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/lib -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -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 -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -Werror=global-constructors -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/mlir/lib/CMakeFiles/obj.MLIRRegisterAllPasses.dir/RegisterAllPasses.cpp.o -MF tools/mlir/lib/CMakeFiles/obj.MLIRRegisterAllPasses.dir/RegisterAllPasses.cpp.o.d -o tools/mlir/lib/CMakeFiles/obj.MLIRRegisterAllPasses.dir/RegisterAllPasses.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/RegisterAllPasses.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/RegisterAllPasses.cpp:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Conversion/Passes.h:14:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.h:18:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Conversion/Passes.h.inc:198:11: error: too few template arguments for class template 'SmallVector'
198 | ::llvm::SmallVector<std::string> sourceTypeStrs;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Support/LLVM.h:72:7: note: template is declared here
71 | template <typename T, unsigned N>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | class SmallVector;
| ^
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/RegisterAllPasses.cpp:16:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Conversion/Passes.h:15:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Conversion/ArithAndMathToAPFloat/MathToAPFloat.h:18:
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Conversion/Passes.h.inc:6111:11: error: too few template arguments for class template 'SmallVector'
6111 | ::llvm::SmallVector<std::string> sourceTypeStrs;
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/Support/LLVM.h:72:7: note: template is declared here
71 | template <typename T, unsigned N>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | class SmallVector;
| ^
2 errors generated.
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/172715
More information about the Mlir-commits
mailing list