This decouples the printing/parsing from the "context" in which the parsing occurs.
This'll allow to invoke these methods directly using an OpAsmParser/OpAsmPrinter.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D113637
Use base class AsmParser/AsmPrinter in Types and Attribute print/parse method (NFC) ClosedPublic Authored by mehdi_amini on Nov 10 2021, 6:51 PM.
Details Summary This decouples the printing/parsing from the "context" in which the parsing occurs.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 10 2021, 6:55 PM This revision was landed with ongoing or failed builds.Nov 10 2021, 10:26 PM Closed by commit rGf97e72aaca4a: Use base class AsmParser/AsmPrinter in Types and Attribute print/parse method… (authored by mehdi_amini). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 386399 flang/lib/Optimizer/Dialect/FIRType.cpp
mlir/include/mlir/Dialect/DLTI/DLTI.h
mlir/include/mlir/Dialect/LLVMIR/LLVMTypes.h
mlir/include/mlir/Dialect/Vector/VectorOps.h
mlir/include/mlir/IR/DialectImplementation.h
mlir/lib/Dialect/Async/IR/Async.cpp
mlir/lib/Dialect/DLTI/DLTI.cpp
mlir/lib/Dialect/EmitC/IR/EmitC.cpp
mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
mlir/lib/Dialect/LLVMIR/IR/LLVMTypeSyntax.cpp
mlir/lib/Dialect/PDL/IR/PDLTypes.cpp
mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
mlir/lib/Dialect/Vector/VectorOps.cpp
mlir/test/lib/Dialect/Test/TestAttributes.cpp
mlir/test/lib/Dialect/Test/TestTypes.h
mlir/test/lib/Dialect/Test/TestTypes.cpp
mlir/test/mlir-tblgen/attr-or-type-format.td
mlir/test/mlir-tblgen/attrdefs.td
mlir/test/mlir-tblgen/typedefs.td
mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp
|