[Mlir-commits] [mlir] [mlir][arith] Add rounding mode flags to binary arithmetic operations (PR #188458)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Mar 25 03:51:21 PDT 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/Dialect/Math/Transforms/CMakeFiles/obj.MLIRMathTransforms.dir/ExpandOps.cpp.o</summary>
```
FAILED: tools/mlir/lib/Dialect/Math/Transforms/CMakeFiles/obj.MLIRMathTransforms.dir/ExpandOps.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -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/Math/Transforms -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Dialect/Math/Transforms -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/Math/Transforms/CMakeFiles/obj.MLIRMathTransforms.dir/ExpandOps.cpp.o -MF tools/mlir/lib/Dialect/Math/Transforms/CMakeFiles/obj.MLIRMathTransforms.dir/ExpandOps.cpp.o.d -o tools/mlir/lib/Dialect/Math/Transforms/CMakeFiles/obj.MLIRMathTransforms.dir/ExpandOps.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Dialect/Math/Transforms/ExpandOps.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Dialect/Math/Transforms/ExpandOps.cpp:214:8: error: unused variable 'type' [-Werror,-Wunused-variable]
214 | Type type = op.getType();
| ^~~~
1 error generated.
```
</details>
<details>
<summary>tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/ConvertExpr.cpp.o</summary>
```
FAILED: tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/ConvertExpr.cpp.o
sccache /opt/llvm/bin/clang++ -DFLANG_INCLUDE_TESTS=1 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/lib/Lower -I/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower -I/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/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 -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/../mlir/include -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/../clang/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 -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 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/ConvertExpr.cpp.o -MF tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/ConvertExpr.cpp.o.d -o tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/ConvertExpr.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Lower/ConvertExpr.h:22:
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Optimizer/Builder/FIRBuilder.h:666:14: error: no matching function for call to 'create'
666 | return OpTy::create(*this, loc, resultType, left, right);
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:1111:20: note: in instantiation of function template specialization 'fir::FirOpBuilder::createUnsigned<mlir::arith::AddFOp>' requested here
1111 | return builder.createUnsigned<OpTy>(getLoc(), lhs.getType(), lhs, rhs);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:1117:12: note: in instantiation of function template specialization '(anonymous namespace)::ScalarExprLowering::createBinaryOp<mlir::arith::AddFOp>' requested here
1117 | return createBinaryOp<OpTy>(left, genval(ex.right()));
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:1130:3: note: in instantiation of function template specialization '(anonymous namespace)::ScalarExprLowering::createBinaryOp<mlir::arith::AddFOp, Fortran::evaluate::Add<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>>' requested here
1130 | GENBIN(Add, Real, mlir::arith::AddFOp)
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:1125:12: note: expanded from macro 'GENBIN'
1125 | return createBinaryOp<GenBinFirOp>(x); \
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3029:65: note: in instantiation of function template specialization '(anonymous namespace)::ScalarExprLowering::genval<3>' requested here
3029 | return Fortran::common::visit([&](const auto &e) { return genval(e); },
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Common/visit.h:61:14: note: in instantiation of function template specialization 'Fortran::common::log2visit::Log2VisitHelper<0UL, 4UL, fir::ExtendedValue, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3029:37), const std::variant<Fortran::evaluate::ComplexComponent<3>, Fortran::evaluate::Parentheses<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Negate<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Add<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Subtract<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Multiply<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Divide<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Power<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::RealToIntPower<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Extremum<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Convert<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>, Fortran::common::TypeCategory::Integer>, Fortran::evaluate::Convert<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>, Fortran::common::TypeCategory::Real>, Fortran::evaluate::Convert<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>, Fortran::common::TypeCategory::Unsigned>, Fortran::evaluate::Constant<Type<TypeCategory::Real, 3>>, Fortran::evaluate::ArrayConstructor<Type<TypeCategory::Real, 3>>, Fortran::evaluate::Designator<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::FunctionRef<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>> &>' requested here
61 | return Log2VisitHelper<LOW, mid, RESULT>(
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Common/visit.h:61:14: note: (skipping 32 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3017:65: note: in instantiation of function template specialization '(anonymous namespace)::ScalarExprLowering::genref<Fortran::evaluate::SomeKind<Fortran::common::TypeCategory::Integer>, Fortran::evaluate::Expr, Fortran::evaluate::Expr<SomeInteger>, true>' requested here
3017 | return Fortran::common::visit([&](const auto &e) { return genref(e); },
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Common/visit.h:61:14: note: in instantiation of function template specialization 'Fortran::common::log2visit::Log2VisitHelper<0UL, 5UL, fir::ExtendedValue, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3017:37), const std::variant<Fortran::evaluate::value::Integer<128>, Fortran::evaluate::NullPointer, Fortran::evaluate::ProcedureDesignator, Fortran::evaluate::ProcedureRef, Fortran::evaluate::Expr<SomeInteger>, Fortran::evaluate::Expr<SomeReal>, Fortran::evaluate::Expr<SomeComplex>, Fortran::evaluate::Expr<Fortran::evaluate::SomeKind<Fortran::common::TypeCategory::Character>>, Fortran::evaluate::Expr<SomeLogical>, Fortran::evaluate::Expr<SomeUnsigned>, Fortran::evaluate::Expr<Fortran::evaluate::SomeKind<TypeCategory::Derived>>> &>' requested here
61 | return Log2VisitHelper<LOW, mid, RESULT>(
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Common/visit.h:78:12: note: in instantiation of function template specialization 'Fortran::common::log2visit::Log2VisitHelper<0UL, 10UL, fir::ExtendedValue, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3017:37), const std::variant<Fortran::evaluate::value::Integer<128>, Fortran::evaluate::NullPointer, Fortran::evaluate::ProcedureDesignator, Fortran::evaluate::ProcedureRef, Fortran::evaluate::Expr<SomeInteger>, Fortran::evaluate::Expr<SomeReal>, Fortran::evaluate::Expr<SomeComplex>, Fortran::evaluate::Expr<Fortran::evaluate::SomeKind<Fortran::common::TypeCategory::Character>>, Fortran::evaluate::Expr<SomeLogical>, Fortran::evaluate::Expr<SomeUnsigned>, Fortran::evaluate::Expr<Fortran::evaluate::SomeKind<TypeCategory::Derived>>> &>' requested here
78 | return Log2VisitHelper<0, high, Result>(std::forward<VISITOR>(visitor),
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3017:31: note: in instantiation of function template specialization 'Fortran::common::log2visit::visit<(lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3017:37), const std::variant<Fortran::evaluate::value::Integer<128>, Fortran::evaluate::NullPointer, Fortran::evaluate::ProcedureDesignator, Fortran::evaluate::ProcedureRef, Fortran::evaluate::Expr<SomeInteger>, Fortran::evaluate::Expr<SomeReal>, Fortran::evaluate::Expr<SomeComplex>, Fortran::evaluate::Expr<Fortran::evaluate::SomeKind<Fortran::common::TypeCategory::Character>>, Fortran::evaluate::Expr<SomeLogical>, Fortran::evaluate::Expr<SomeUnsigned>, Fortran::evaluate::Expr<Fortran::evaluate::SomeKind<TypeCategory::Derived>>> &>' requested here
3017 | return Fortran::common::visit([&](const auto &e) { return genref(e); },
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:690:12: note: in instantiation of function template specialization '(anonymous namespace)::ScalarExprLowering::gen<Fortran::evaluate::SomeType>' requested here
690 | return gen(expr);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1462:17: note: candidate function not viable: no known conversion from 'mlir::Type' to 'Value' for 3rd argument
1462 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, Value lhs, Value rhs, ::mlir::arith::FastMathFlags fastmath = ::mlir::arith::FastMathFlags::none);
| ^ ~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1465:17: note: candidate function not viable: no known conversion from 'mlir::Type' to 'Value' for 3rd argument
1465 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, Value lhs, Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath);
| ^ ~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1472:17: note: candidate function not viable: no known conversion from 'fir::FirOpBuilder' to '::mlir::ImplicitLocOpBuilder &' for 1st argument
1472 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1481:17: note: candidate function not viable: no known conversion from 'fir::FirOpBuilder' to '::mlir::ImplicitLocOpBuilder &' for 1st argument
1481 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1486:17: note: candidate function not viable: no known conversion from 'mlir::Value' to '::llvm::ArrayRef< ::mlir::NamedAttribute>' for 5th argument
1486 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1492:17: note: candidate function not viable: no known conversion from 'mlir::Value' to 'const Properties' (aka 'const FoldAdaptor::Properties') for 5th argument
1492 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute> discardableAttributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1493:17: note: candidate function not viable: no known conversion from 'fir::FirOpBuilder' to '::mlir::ImplicitLocOpBuilder &' for 1st argument
1493 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute> discardableAttributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1495:17: note: candidate function not viable: no known conversion from 'mlir::Type' to '::mlir::ValueRange' for 3rd argument
1495 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute> discardableAttributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1463:17: note: candidate function not viable: requires at most 4 arguments, but 5 were provided
1463 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, Value lhs, Value rhs, ::mlir::arith::FastMathFlags fastmath = ::mlir::arith::FastMathFlags::none);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1466:17: note: candidate function not viable: requires 4 arguments, but 5 were provided
1466 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, Value lhs, Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1487:17: note: candidate function not viable: requires at most 4 arguments, but 5 were provided
1487 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1489:17: note: candidate function not viable: requires at most 4 arguments, but 5 were provided
1489 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1496:17: note: candidate function not viable: requires at most 4 arguments, but 5 were provided
1496 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute> discardableAttributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1469:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
1469 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1471:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
1471 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1475:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
1475 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1478:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
1478 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1480:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
1480 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1484:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
1484 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1490:17: note: candidate function not viable: requires at most 3 arguments, but 5 were provided
1490 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1468:17: note: candidate function not viable: requires 7 arguments, but 5 were provided
1468 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1474:17: note: candidate function not viable: requires 7 arguments, but 5 were provided
1474 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1477:17: note: candidate function not viable: requires 7 arguments, but 5 were provided
1477 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1483:17: note: candidate function not viable: requires 7 arguments, but 5 were provided
1483 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Lower/ConvertExpr.h:22:
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Optimizer/Builder/FIRBuilder.h:679:26: error: no matching function for call to 'create'
679 | mlir::Value result = OpTy::create(*this, loc, opResType, left, right);
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1462:17: note: candidate function not viable: no known conversion from 'mlir::Type' to 'Value' for 3rd argument
1462 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, Value lhs, Value rhs, ::mlir::arith::FastMathFlags fastmath = ::mlir::arith::FastMathFlags::none);
| ^ ~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1465:17: note: candidate function not viable: no known conversion from 'mlir::Type' to 'Value' for 3rd argument
1465 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, Value lhs, Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath);
| ^ ~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1472:17: note: candidate function not viable: no known conversion from 'fir::FirOpBuilder' to '::mlir::ImplicitLocOpBuilder &' for 1st argument
1472 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1481:17: note: candidate function not viable: no known conversion from 'fir::FirOpBuilder' to '::mlir::ImplicitLocOpBuilder &' for 1st argument
1481 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1486:17: note: candidate function not viable: no known conversion from 'mlir::Value' to '::llvm::ArrayRef< ::mlir::NamedAttribute>' for 5th argument
1486 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1492:17: note: candidate function not viable: no known conversion from 'mlir::Value' to 'const Properties' (aka 'const FoldAdaptor::Properties') for 5th argument
1492 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute> discardableAttributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1493:17: note: candidate function not viable: no known conversion from 'fir::FirOpBuilder' to '::mlir::ImplicitLocOpBuilder &' for 1st argument
1493 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute> discardableAttributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1495:17: note: candidate function not viable: no known conversion from 'mlir::Type' to '::mlir::ValueRange' for 3rd argument
1495 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute> discardableAttributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1463:17: note: candidate function not viable: requires at most 4 arguments, but 5 were provided
1463 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, Value lhs, Value rhs, ::mlir::arith::FastMathFlags fastmath = ::mlir::arith::FastMathFlags::none);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1466:17: note: candidate function not viable: requires 4 arguments, but 5 were provided
1466 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, Value lhs, Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1487:17: note: candidate function not viable: requires at most 4 arguments, but 5 were provided
1487 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1489:17: note: candidate function not viable: requires at most 4 arguments, but 5 were provided
1489 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1496:17: note: candidate function not viable: requires at most 4 arguments, but 5 were provided
1496 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute> discardableAttributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1469:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
1469 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1471:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
1471 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1475:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
1475 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1478:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
1478 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1480:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
1480 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1484:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
1484 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1490:17: note: candidate function not viable: requires at most 3 arguments, but 5 were provided
1490 | static AddFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1468:17: note: candidate function not viable: requires 7 arguments, but 5 were provided
1468 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1474:17: note: candidate function not viable: requires 7 arguments, but 5 were provided
1474 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1477:17: note: candidate function not viable: requires 7 arguments, but 5 were provided
1477 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:1483:17: note: candidate function not viable: requires 7 arguments, but 5 were provided
1483 | static AddFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Lower/ConvertExpr.h:22:
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Optimizer/Builder/FIRBuilder.h:666:14: error: no matching function for call to 'create'
666 | return OpTy::create(*this, loc, resultType, left, right);
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:1111:20: note: in instantiation of function template specialization 'fir::FirOpBuilder::createUnsigned<mlir::arith::SubFOp>' requested here
1111 | return builder.createUnsigned<OpTy>(getLoc(), lhs.getType(), lhs, rhs);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:1117:12: note: in instantiation of function template specialization '(anonymous namespace)::ScalarExprLowering::createBinaryOp<mlir::arith::SubFOp>' requested here
1117 | return createBinaryOp<OpTy>(left, genval(ex.right()));
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:1134:3: note: in instantiation of function template specialization '(anonymous namespace)::ScalarExprLowering::createBinaryOp<mlir::arith::SubFOp, Fortran::evaluate::Subtract<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>>' requested here
1134 | GENBIN(Subtract, Real, mlir::arith::SubFOp)
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:1125:12: note: expanded from macro 'GENBIN'
1125 | return createBinaryOp<GenBinFirOp>(x); \
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3029:65: note: in instantiation of function template specialization '(anonymous namespace)::ScalarExprLowering::genval<3>' requested here
3029 | return Fortran::common::visit([&](const auto &e) { return genval(e); },
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Common/visit.h:61:14: note: in instantiation of function template specialization 'Fortran::common::log2visit::Log2VisitHelper<0UL, 4UL, fir::ExtendedValue, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3029:37), const std::variant<Fortran::evaluate::ComplexComponent<3>, Fortran::evaluate::Parentheses<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Negate<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Add<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Subtract<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Multiply<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Divide<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Power<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::RealToIntPower<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Extremum<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Convert<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>, Fortran::common::TypeCategory::Integer>, Fortran::evaluate::Convert<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>, Fortran::common::TypeCategory::Real>, Fortran::evaluate::Convert<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>, Fortran::common::TypeCategory::Unsigned>, Fortran::evaluate::Constant<Type<TypeCategory::Real, 3>>, Fortran::evaluate::ArrayConstructor<Type<TypeCategory::Real, 3>>, Fortran::evaluate::Designator<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::FunctionRef<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>> &>' requested here
61 | return Log2VisitHelper<LOW, mid, RESULT>(
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Common/visit.h:61:14: note: (skipping 32 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3017:65: note: in instantiation of function template specialization '(anonymous namespace)::ScalarExprLowering::genref<Fortran::evaluate::SomeKind<Fortran::common::TypeCategory::Integer>, Fortran::evaluate::Expr, Fortran::evaluate::Expr<SomeInteger>, true>' requested here
3017 | return Fortran::common::visit([&](const auto &e) { return genref(e); },
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Common/visit.h:61:14: note: in instantiation of function template specialization 'Fortran::common::log2visit::Log2VisitHelper<0UL, 5UL, fir::ExtendedValue, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3017:37), const std::variant<Fortran::evaluate::value::Integer<128>, Fortran::evaluate::NullPointer, Fortran::evaluate::ProcedureDesignator, Fortran::evaluate::ProcedureRef, Fortran::evaluate::Expr<SomeInteger>, Fortran::evaluate::Expr<SomeReal>, Fortran::evaluate::Expr<SomeComplex>, Fortran::evaluate::Expr<Fortran::evaluate::SomeKind<Fortran::common::TypeCategory::Character>>, Fortran::evaluate::Expr<SomeLogical>, Fortran::evaluate::Expr<SomeUnsigned>, Fortran::evaluate::Expr<Fortran::evaluate::SomeKind<TypeCategory::Derived>>> &>' requested here
61 | return Log2VisitHelper<LOW, mid, RESULT>(
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Common/visit.h:78:12: note: in instantiation of function template specialization 'Fortran::common::log2visit::Log2VisitHelper<0UL, 10UL, fir::ExtendedValue, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3017:37), const std::variant<Fortran::evaluate::value::Integer<128>, Fortran::evaluate::NullPointer, Fortran::evaluate::ProcedureDesignator, Fortran::evaluate::ProcedureRef, Fortran::evaluate::Expr<SomeInteger>, Fortran::evaluate::Expr<SomeReal>, Fortran::evaluate::Expr<SomeComplex>, Fortran::evaluate::Expr<Fortran::evaluate::SomeKind<Fortran::common::TypeCategory::Character>>, Fortran::evaluate::Expr<SomeLogical>, Fortran::evaluate::Expr<SomeUnsigned>, Fortran::evaluate::Expr<Fortran::evaluate::SomeKind<TypeCategory::Derived>>> &>' requested here
78 | return Log2VisitHelper<0, high, Result>(std::forward<VISITOR>(visitor),
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3017:31: note: in instantiation of function template specialization 'Fortran::common::log2visit::visit<(lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3017:37), const std::variant<Fortran::evaluate::value::Integer<128>, Fortran::evaluate::NullPointer, Fortran::evaluate::ProcedureDesignator, Fortran::evaluate::ProcedureRef, Fortran::evaluate::Expr<SomeInteger>, Fortran::evaluate::Expr<SomeReal>, Fortran::evaluate::Expr<SomeComplex>, Fortran::evaluate::Expr<Fortran::evaluate::SomeKind<Fortran::common::TypeCategory::Character>>, Fortran::evaluate::Expr<SomeLogical>, Fortran::evaluate::Expr<SomeUnsigned>, Fortran::evaluate::Expr<Fortran::evaluate::SomeKind<TypeCategory::Derived>>> &>' requested here
3017 | return Fortran::common::visit([&](const auto &e) { return genref(e); },
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:690:12: note: in instantiation of function template specialization '(anonymous namespace)::ScalarExprLowering::gen<Fortran::evaluate::SomeType>' requested here
690 | return gen(expr);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11914:17: note: candidate function not viable: no known conversion from 'mlir::Type' to 'Value' for 3rd argument
11914 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, Value lhs, Value rhs, ::mlir::arith::FastMathFlags fastmath = ::mlir::arith::FastMathFlags::none);
| ^ ~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11917:17: note: candidate function not viable: no known conversion from 'mlir::Type' to 'Value' for 3rd argument
11917 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, Value lhs, Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath);
| ^ ~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11924:17: note: candidate function not viable: no known conversion from 'fir::FirOpBuilder' to '::mlir::ImplicitLocOpBuilder &' for 1st argument
11924 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11933:17: note: candidate function not viable: no known conversion from 'fir::FirOpBuilder' to '::mlir::ImplicitLocOpBuilder &' for 1st argument
11933 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11938:17: note: candidate function not viable: no known conversion from 'mlir::Value' to '::llvm::ArrayRef< ::mlir::NamedAttribute>' for 5th argument
11938 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11944:17: note: candidate function not viable: no known conversion from 'mlir::Value' to 'const Properties' (aka 'const FoldAdaptor::Properties') for 5th argument
11944 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute> discardableAttributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11945:17: note: candidate function not viable: no known conversion from 'fir::FirOpBuilder' to '::mlir::ImplicitLocOpBuilder &' for 1st argument
11945 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute> discardableAttributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11947:17: note: candidate function not viable: no known conversion from 'mlir::Type' to '::mlir::ValueRange' for 3rd argument
11947 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute> discardableAttributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11915:17: note: candidate function not viable: requires at most 4 arguments, but 5 were provided
11915 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, Value lhs, Value rhs, ::mlir::arith::FastMathFlags fastmath = ::mlir::arith::FastMathFlags::none);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11918:17: note: candidate function not viable: requires 4 arguments, but 5 were provided
11918 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, Value lhs, Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11939:17: note: candidate function not viable: requires at most 4 arguments, but 5 were provided
11939 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11941:17: note: candidate function not viable: requires at most 4 arguments, but 5 were provided
11941 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11948:17: note: candidate function not viable: requires at most 4 arguments, but 5 were provided
11948 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute> discardableAttributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11921:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
11921 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11923:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
11923 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11927:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
11927 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11930:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
11930 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11932:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
11932 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11936:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
11936 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11942:17: note: candidate function not viable: requires at most 3 arguments, but 5 were provided
11942 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11920:17: note: candidate function not viable: requires 7 arguments, but 5 were provided
11920 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11926:17: note: candidate function not viable: requires 7 arguments, but 5 were provided
11926 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11929:17: note: candidate function not viable: requires 7 arguments, but 5 were provided
11929 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11935:17: note: candidate function not viable: requires 7 arguments, but 5 were provided
11935 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Lower/ConvertExpr.h:22:
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Optimizer/Builder/FIRBuilder.h:679:26: error: no matching function for call to 'create'
679 | mlir::Value result = OpTy::create(*this, loc, opResType, left, right);
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11914:17: note: candidate function not viable: no known conversion from 'mlir::Type' to 'Value' for 3rd argument
11914 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, Value lhs, Value rhs, ::mlir::arith::FastMathFlags fastmath = ::mlir::arith::FastMathFlags::none);
| ^ ~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11917:17: note: candidate function not viable: no known conversion from 'mlir::Type' to 'Value' for 3rd argument
11917 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, Value lhs, Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath);
| ^ ~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11924:17: note: candidate function not viable: no known conversion from 'fir::FirOpBuilder' to '::mlir::ImplicitLocOpBuilder &' for 1st argument
11924 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11933:17: note: candidate function not viable: no known conversion from 'fir::FirOpBuilder' to '::mlir::ImplicitLocOpBuilder &' for 1st argument
11933 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11938:17: note: candidate function not viable: no known conversion from 'mlir::Value' to '::llvm::ArrayRef< ::mlir::NamedAttribute>' for 5th argument
11938 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11944:17: note: candidate function not viable: no known conversion from 'mlir::Value' to 'const Properties' (aka 'const FoldAdaptor::Properties') for 5th argument
11944 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute> discardableAttributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11945:17: note: candidate function not viable: no known conversion from 'fir::FirOpBuilder' to '::mlir::ImplicitLocOpBuilder &' for 1st argument
11945 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute> discardableAttributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11947:17: note: candidate function not viable: no known conversion from 'mlir::Type' to '::mlir::ValueRange' for 3rd argument
11947 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute> discardableAttributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11915:17: note: candidate function not viable: requires at most 4 arguments, but 5 were provided
11915 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, Value lhs, Value rhs, ::mlir::arith::FastMathFlags fastmath = ::mlir::arith::FastMathFlags::none);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11918:17: note: candidate function not viable: requires 4 arguments, but 5 were provided
11918 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, Value lhs, Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11939:17: note: candidate function not viable: requires at most 4 arguments, but 5 were provided
11939 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11941:17: note: candidate function not viable: requires at most 4 arguments, but 5 were provided
11941 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11948:17: note: candidate function not viable: requires at most 4 arguments, but 5 were provided
11948 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute> discardableAttributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11921:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
11921 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11923:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
11923 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11927:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
11927 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11930:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
11930 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11932:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
11932 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11936:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
11936 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11942:17: note: candidate function not viable: requires at most 3 arguments, but 5 were provided
11942 | static SubFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11920:17: note: candidate function not viable: requires 7 arguments, but 5 were provided
11920 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11926:17: note: candidate function not viable: requires 7 arguments, but 5 were provided
11926 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11929:17: note: candidate function not viable: requires 7 arguments, but 5 were provided
11929 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:11935:17: note: candidate function not viable: requires 7 arguments, but 5 were provided
11935 | static SubFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Lower/ConvertExpr.h:22:
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Optimizer/Builder/FIRBuilder.h:666:14: error: no matching function for call to 'create'
666 | return OpTy::create(*this, loc, resultType, left, right);
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:1111:20: note: in instantiation of function template specialization 'fir::FirOpBuilder::createUnsigned<mlir::arith::DivFOp>' requested here
1111 | return builder.createUnsigned<OpTy>(getLoc(), lhs.getType(), lhs, rhs);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:1117:12: note: in instantiation of function template specialization '(anonymous namespace)::ScalarExprLowering::createBinaryOp<mlir::arith::DivFOp>' requested here
1117 | return createBinaryOp<OpTy>(left, genval(ex.right()));
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:1142:3: note: in instantiation of function template specialization '(anonymous namespace)::ScalarExprLowering::createBinaryOp<mlir::arith::DivFOp, Fortran::evaluate::Divide<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>>' requested here
1142 | GENBIN(Divide, Real, mlir::arith::DivFOp)
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:1125:12: note: expanded from macro 'GENBIN'
1125 | return createBinaryOp<GenBinFirOp>(x); \
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3029:65: note: in instantiation of function template specialization '(anonymous namespace)::ScalarExprLowering::genval<3>' requested here
3029 | return Fortran::common::visit([&](const auto &e) { return genval(e); },
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Common/visit.h:64:14: note: in instantiation of function template specialization 'Fortran::common::log2visit::Log2VisitHelper<5UL, 8UL, fir::ExtendedValue, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3029:37), const std::variant<Fortran::evaluate::ComplexComponent<3>, Fortran::evaluate::Parentheses<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Negate<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Add<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Subtract<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Multiply<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Divide<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Power<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::RealToIntPower<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Extremum<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::Convert<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>, Fortran::common::TypeCategory::Integer>, Fortran::evaluate::Convert<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>, Fortran::common::TypeCategory::Real>, Fortran::evaluate::Convert<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>, Fortran::common::TypeCategory::Unsigned>, Fortran::evaluate::Constant<Type<TypeCategory::Real, 3>>, Fortran::evaluate::ArrayConstructor<Type<TypeCategory::Real, 3>>, Fortran::evaluate::Designator<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>, Fortran::evaluate::FunctionRef<Fortran::evaluate::Type<Fortran::common::TypeCategory::Real, 3>>> &>' requested here
64 | return Log2VisitHelper<(mid + 1), HIGH, RESULT>(
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Common/visit.h:61:14: note: (skipping 32 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
61 | return Log2VisitHelper<LOW, mid, RESULT>(
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3017:65: note: in instantiation of function template specialization '(anonymous namespace)::ScalarExprLowering::genref<Fortran::evaluate::SomeKind<Fortran::common::TypeCategory::Integer>, Fortran::evaluate::Expr, Fortran::evaluate::Expr<SomeInteger>, true>' requested here
3017 | return Fortran::common::visit([&](const auto &e) { return genref(e); },
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Common/visit.h:61:14: note: in instantiation of function template specialization 'Fortran::common::log2visit::Log2VisitHelper<0UL, 5UL, fir::ExtendedValue, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3017:37), const std::variant<Fortran::evaluate::value::Integer<128>, Fortran::evaluate::NullPointer, Fortran::evaluate::ProcedureDesignator, Fortran::evaluate::ProcedureRef, Fortran::evaluate::Expr<SomeInteger>, Fortran::evaluate::Expr<SomeReal>, Fortran::evaluate::Expr<SomeComplex>, Fortran::evaluate::Expr<Fortran::evaluate::SomeKind<Fortran::common::TypeCategory::Character>>, Fortran::evaluate::Expr<SomeLogical>, Fortran::evaluate::Expr<SomeUnsigned>, Fortran::evaluate::Expr<Fortran::evaluate::SomeKind<TypeCategory::Derived>>> &>' requested here
61 | return Log2VisitHelper<LOW, mid, RESULT>(
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Common/visit.h:78:12: note: in instantiation of function template specialization 'Fortran::common::log2visit::Log2VisitHelper<0UL, 10UL, fir::ExtendedValue, (lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3017:37), const std::variant<Fortran::evaluate::value::Integer<128>, Fortran::evaluate::NullPointer, Fortran::evaluate::ProcedureDesignator, Fortran::evaluate::ProcedureRef, Fortran::evaluate::Expr<SomeInteger>, Fortran::evaluate::Expr<SomeReal>, Fortran::evaluate::Expr<SomeComplex>, Fortran::evaluate::Expr<Fortran::evaluate::SomeKind<Fortran::common::TypeCategory::Character>>, Fortran::evaluate::Expr<SomeLogical>, Fortran::evaluate::Expr<SomeUnsigned>, Fortran::evaluate::Expr<Fortran::evaluate::SomeKind<TypeCategory::Derived>>> &>' requested here
78 | return Log2VisitHelper<0, high, Result>(std::forward<VISITOR>(visitor),
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3017:31: note: in instantiation of function template specialization 'Fortran::common::log2visit::visit<(lambda at /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:3017:37), const std::variant<Fortran::evaluate::value::Integer<128>, Fortran::evaluate::NullPointer, Fortran::evaluate::ProcedureDesignator, Fortran::evaluate::ProcedureRef, Fortran::evaluate::Expr<SomeInteger>, Fortran::evaluate::Expr<SomeReal>, Fortran::evaluate::Expr<SomeComplex>, Fortran::evaluate::Expr<Fortran::evaluate::SomeKind<Fortran::common::TypeCategory::Character>>, Fortran::evaluate::Expr<SomeLogical>, Fortran::evaluate::Expr<SomeUnsigned>, Fortran::evaluate::Expr<Fortran::evaluate::SomeKind<TypeCategory::Derived>>> &>' requested here
3017 | return Fortran::common::visit([&](const auto &e) { return genref(e); },
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:690:12: note: in instantiation of function template specialization '(anonymous namespace)::ScalarExprLowering::gen<Fortran::evaluate::SomeType>' requested here
690 | return gen(expr);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4053:17: note: candidate function not viable: no known conversion from 'mlir::Type' to 'Value' for 3rd argument
4053 | static DivFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, Value lhs, Value rhs, ::mlir::arith::FastMathFlags fastmath = ::mlir::arith::FastMathFlags::none);
| ^ ~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4056:17: note: candidate function not viable: no known conversion from 'mlir::Type' to 'Value' for 3rd argument
4056 | static DivFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, Value lhs, Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath);
| ^ ~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4063:17: note: candidate function not viable: no known conversion from 'fir::FirOpBuilder' to '::mlir::ImplicitLocOpBuilder &' for 1st argument
4063 | static DivFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4072:17: note: candidate function not viable: no known conversion from 'fir::FirOpBuilder' to '::mlir::ImplicitLocOpBuilder &' for 1st argument
4072 | static DivFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4077:17: note: candidate function not viable: no known conversion from 'mlir::Value' to '::llvm::ArrayRef< ::mlir::NamedAttribute>' for 5th argument
4077 | static DivFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4083:17: note: candidate function not viable: no known conversion from 'mlir::Value' to 'const Properties' (aka 'const FoldAdaptor::Properties') for 5th argument
4083 | static DivFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute> discardableAttributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4084:17: note: candidate function not viable: no known conversion from 'fir::FirOpBuilder' to '::mlir::ImplicitLocOpBuilder &' for 1st argument
4084 | static DivFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute> discardableAttributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4086:17: note: candidate function not viable: no known conversion from 'mlir::Type' to '::mlir::ValueRange' for 3rd argument
4086 | static DivFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute> discardableAttributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4054:17: note: candidate function not viable: requires at most 4 arguments, but 5 were provided
4054 | static DivFOp create(::mlir::ImplicitLocOpBuilder &builder, Value lhs, Value rhs, ::mlir::arith::FastMathFlags fastmath = ::mlir::arith::FastMathFlags::none);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4057:17: note: candidate function not viable: requires 4 arguments, but 5 were provided
4057 | static DivFOp create(::mlir::ImplicitLocOpBuilder &builder, Value lhs, Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4078:17: note: candidate function not viable: requires at most 4 arguments, but 5 were provided
4078 | static DivFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4080:17: note: candidate function not viable: requires at most 4 arguments, but 5 were provided
4080 | static DivFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4087:17: note: candidate function not viable: requires at most 4 arguments, but 5 were provided
4087 | static DivFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute> discardableAttributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4060:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
4060 | static DivFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4062:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
4062 | static DivFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4066:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
4066 | static DivFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4069:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
4069 | static DivFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4071:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
4071 | static DivFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4075:17: note: candidate function not viable: requires 6 arguments, but 5 were provided
4075 | static DivFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4081:17: note: candidate function not viable: requires at most 3 arguments, but 5 were provided
4081 | static DivFOp create(::mlir::ImplicitLocOpBuilder &builder, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes = {});
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4059:17: note: candidate function not viable: requires 7 arguments, but 5 were provided
4059 | static DivFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4065:17: note: candidate function not viable: requires 7 arguments, but 5 were provided
4065 | static DivFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlagsAttr fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4068:17: note: candidate function not viable: requires 7 arguments, but 5 were provided
4068 | static DivFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Type result, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4074:17: note: candidate function not viable: requires 7 arguments, but 5 were provided
4074 | static DivFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs, ::mlir::arith::FastMathFlags fastmath, /*optional*/::mlir::arith::RoundingModeAttr roundingmode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Lower/ConvertExpr.cpp:13:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Lower/ConvertExpr.h:22:
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include/flang/Optimizer/Builder/FIRBuilder.h:679:26: error: no matching function for call to 'create'
679 | mlir::Value result = OpTy::create(*this, loc, opResType, left, right);
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4053:17: note: candidate function not viable: no known conversion from 'mlir::Type' to 'Value' for 3rd argument
4053 | static DivFOp create(::mlir::OpBuilder &builder, ::mlir::Location location, Value lhs, Value rhs, ::mlir::arith::FastMathFlags fastmath = ::mlir::arith::FastMathFlags::none);
| ^ ~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/Arith/IR/ArithOps.h.inc:4056:17: note: candidate function not viable: no known conversion from 'mlir::Type' to 'Value' for 3rd argument
```
</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/188458
More information about the Mlir-commits
mailing list