[all-commits] [llvm/llvm-project] 19992b: [mlir][llvmir] Cleaned up MetadataOp.

Slava Zakharin via All-commits all-commits at lists.llvm.org
Thu Jan 12 10:05:33 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 19992b1d96b3d0c70c1cbc512beffd1b88c7a3e4
      https://github.com/llvm/llvm-project/commit/19992b1d96b3d0c70c1cbc512beffd1b88c7a3e4
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-01-12 (Thu, 12 Jan 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    M mlir/test/Dialect/LLVMIR/invalid.mlir
    M mlir/test/Dialect/LLVMIR/roundtrip.mlir
    M mlir/test/Dialect/LLVMIR/tbaa-invalid.mlir
    M mlir/test/Dialect/LLVMIR/tbaa-roundtrip.mlir
    M mlir/test/Target/LLVMIR/Import/tbaa.ll
    M mlir/test/Target/LLVMIR/llvmir.mlir
    M mlir/test/Target/LLVMIR/tbaa.mlir

  Log Message:
  -----------
  [mlir][llvmir] Cleaned up MetadataOp.

Added NoTerminator trait, and created a single builder
that adds a block into the region at operation construction.
Added custom assembly parser that automatically adds the body
block, when the region appears to be empty to parseRegion().

Differential Revision: https://reviews.llvm.org/D141160




More information about the All-commits mailing list