[all-commits] [llvm/llvm-project] e4fb75: [mlir][ods] Add Deprecate helper
Jacques Pienaar via All-commits
all-commits at lists.llvm.org
Tue Mar 22 11:08:50 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e4fb75a354740bf45dab0ebd43f37ab2fdeae3bf
https://github.com/llvm/llvm-project/commit/e4fb75a354740bf45dab0ebd43f37ab2fdeae3bf
Author: Jacques Pienaar <jpienaar at google.com>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M mlir/docs/OpDefinitions.md
M mlir/include/mlir/IR/OpBase.td
A mlir/test/mlir-tblgen/deprecation.td
M mlir/tools/mlir-tblgen/mlir-tblgen.cpp
Log Message:
-----------
[mlir][ods] Add Deprecate helper
Add method to tag classes/defs as deprecated. Previously deprecations
were only verbally communicated and folks didn't have an active warning
while building about impending removal. Add mechanism to tag defs as
deprecated to allow warning users.
This doesn't change any policy, it just moves deprecation warnings from
comments to something more user visible.
Differential Revision: https://reviews.llvm.org/D122164
More information about the All-commits
mailing list