[all-commits] [llvm/llvm-project] f97e72: Use base class AsmParser/AsmPrinter in Types and A...
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Wed Nov 10 22:26:55 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f97e72aaca4a7534341f67a8f93fa3246882622a
https://github.com/llvm/llvm-project/commit/f97e72aaca4a7534341f67a8f93fa3246882622a
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2021-11-11 (Thu, 11 Nov 2021)
Changed paths:
M flang/lib/Optimizer/Dialect/FIRType.cpp
M mlir/include/mlir/Dialect/DLTI/DLTI.h
M mlir/include/mlir/Dialect/LLVMIR/LLVMTypes.h
M mlir/include/mlir/Dialect/Vector/VectorOps.h
M mlir/include/mlir/IR/DialectImplementation.h
M mlir/lib/Dialect/Async/IR/Async.cpp
M mlir/lib/Dialect/DLTI/DLTI.cpp
M mlir/lib/Dialect/EmitC/IR/EmitC.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMTypeSyntax.cpp
M mlir/lib/Dialect/PDL/IR/PDLTypes.cpp
M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
M mlir/lib/Dialect/Vector/VectorOps.cpp
M mlir/test/lib/Dialect/Test/TestAttributes.cpp
M mlir/test/lib/Dialect/Test/TestTypes.cpp
M mlir/test/lib/Dialect/Test/TestTypes.h
M mlir/test/mlir-tblgen/attr-or-type-format.td
M mlir/test/mlir-tblgen/attrdefs.td
M mlir/test/mlir-tblgen/typedefs.td
M mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
M mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp
Log Message:
-----------
Use base class AsmParser/AsmPrinter in Types and Attribute print/parse method (NFC)
This decouples the printing/parsing from the "context" in which the parsing occurs.
This will allow to invoke these methods directly using an OpAsmParser/OpAsmPrinter.
Differential Revision: https://reviews.llvm.org/D113637
More information about the All-commits
mailing list