[all-commits] [llvm/llvm-project] f2beca: [mlir][tblgen] Consistently use `$_ctxt` instead o...
zero9178 via All-commits
all-commits at lists.llvm.org
Tue Jul 5 11:14:47 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f2beca908d4ec409e4201ee08b1d4a7d9fcb1ab7
https://github.com/llvm/llvm-project/commit/f2beca908d4ec409e4201ee08b1d4a7d9fcb1ab7
Author: Markus Böck <markus.boeck02 at gmail.com>
Date: 2022-07-05 (Tue, 05 Jul 2022)
Changed paths:
M mlir/docs/AttributesAndTypes.md
M mlir/include/mlir/IR/AttrTypeBase.td
M mlir/include/mlir/IR/OpBase.td
M mlir/test/lib/Dialect/Test/TestTypeDefs.td
M mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp
M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
Log Message:
-----------
[mlir][tblgen] Consistently use `$_ctxt` instead of `$_ctx`
With the exceptions of AttrOrTypeParameter and DerivedAttr, all of MLIR consistently uses $_ctxt as the substitute variable for the MLIRContext in TableGen C++ code.
Usually this does not matter unless one where to reuse some code in multiple fields but it is still needlessly inconsistent and prone to error.
This patch fixes that by consistently using _$ctxt everywhere.
Differential Revision: https://reviews.llvm.org/D129153
More information about the All-commits
mailing list