[Mlir-commits] [mlir] [mlir] Add a ValueSemantics trait. (PR #99493)
Alexander Belyaev
llvmlistbot at llvm.org
Fri Jul 19 12:21:31 PDT 2024
pifon2a wrote:
> looks like there are some build errors on the bot:
>
> ```
>
> In file included from /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-tvbq4-1/llvm-project/github-pull-requests/flang/lib/Optimizer/CodeGen/CGOps.cpp:33:
> --
> | /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-tvbq4-1/llvm-project/github-pull-requests/build/tools/flang/include/flang/Optimizer/CodeGen/CGOps.cpp.inc:43:62: error: use of undeclared identifier 'ValueSemantics'; did you mean 'mlir::ValueSemantics'?
> | if (!((((type.isSignlessIntOrIndex())) \|\| (((type.hasTrait<ValueSemantics>())) && ([](::mlir::Type elementType) { return (elementType.isSignlessIntOrIndex()); }(::llvm::cast<::mlir::ShapedType>(type).getElementType())))) \|\| ((type.isSignedInteger())) \|\| ((::llvm::isa<::fir::IntegerType>(type))))) {
> | ^~~~~~~~~~~~~~
> | mlir::ValueSemantics
> ```
Should work now. Let's see.
https://github.com/llvm/llvm-project/pull/99493
More information about the Mlir-commits
mailing list