[Mlir-commits] [mlir] [mlir] Add a ValueSemantics trait. (PR #99493)

Thomas Raoux llvmlistbot at llvm.org
Fri Jul 19 10:59:18 PDT 2024


ThomasRaoux 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


```

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


More information about the Mlir-commits mailing list