[all-commits] [llvm/llvm-project] 6394ad: [mlir] Fix deprecation warnings (NFC)
kazutakahirata via All-commits
all-commits at lists.llvm.org
Mon Sep 12 08:53:09 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6394ad4421bcea87ac3112bfd41505d337a4e5b6
https://github.com/llvm/llvm-project/commit/6394ad4421bcea87ac3112bfd41505d337a4e5b6
Author: Kazu Hirata <kazu at google.com>
Date: 2022-09-12 (Mon, 12 Sep 2022)
Changed paths:
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
Log Message:
-----------
[mlir] Fix deprecation warnings (NFC)
This patch fixes a couple of warnings by switching to has_value/value:
mlir/lib/Dialect/Vector/IR/VectorOps.cpp:529:28: error: 'hasValue'
is deprecated: Use has_value
instead. [-Werror,-Wdeprecated-declarations]
mlir/lib/Dialect/Vector/IR/VectorOps.cpp:533:48: error: 'getValue'
is deprecated: Use value
instead. [-Werror,-Wdeprecated-declarations]
More information about the All-commits
mailing list