llvm-project
9d8950a8 - [mlir] 'dyn_cast' is deprecated: Use mlir::dyn_cast<U>() instead (NFC)

Commit
1 year ago
[mlir] 'dyn_cast' is deprecated: Use mlir::dyn_cast<U>() instead (NFC) /llvm-project/mlir/lib/Dialect/Vector/IR/VectorOps.cpp:2923:29: error: 'dyn_cast' is deprecated: Use mlir::dyn_cast<U>() instead [-Werror,-Wdeprecated-declarations] 2923 | if (auto intAttr = attr.dyn_cast<IntegerAttr>()) { | ^ /llvm-project/mlir/include/mlir/IR/Attributes.h:184:14: note: 'dyn_cast' has been explicitly marked deprecated here 184 | U Attribute::dyn_cast() const { | ^
Author
Parents
Loading