[all-commits] [llvm/llvm-project] 9d8950: [mlir] 'dyn_cast' is deprecated: Use mlir::dyn_cas...
Jie Fu (傅杰) via All-commits
all-commits at lists.llvm.org
Sun Sep 8 18:01:29 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9d8950a8d98708e73f6352f9664deac2ed8f910c
https://github.com/llvm/llvm-project/commit/9d8950a8d98708e73f6352f9664deac2ed8f910c
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-09-09 (Mon, 09 Sep 2024)
Changed paths:
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
Log Message:
-----------
[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 {
| ^
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list