[all-commits] [llvm/llvm-project] af3a5e: [mlir][llvm] Import access group metadata.

Tobias Gysi via All-commits all-commits at lists.llvm.org
Mon Jan 30 06:44:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af3a5ef171f9d6a125bde43d8b4d09a8cffc33e0
      https://github.com/llvm/llvm-project/commit/af3a5ef171f9d6a125bde43d8b4d09a8cffc33e0
  Author: Tobias Gysi <tobias.gysi at nextsilicon.com>
  Date:   2023-01-30 (Mon, 30 Jan 2023)

  Changed paths:
    M mlir/include/mlir/Target/LLVMIR/ModuleImport.h
    M mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMIRToLLVMTranslation.cpp
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    M mlir/test/Target/LLVMIR/Import/import-failure.ll
    A mlir/test/Target/LLVMIR/Import/metadata-loop.ll
    A mlir/test/Target/LLVMIR/Import/metadata-profiling.ll
    A mlir/test/Target/LLVMIR/Import/metadata-tbaa.ll
    R mlir/test/Target/LLVMIR/Import/profiling-metadata.ll
    R mlir/test/Target/LLVMIR/Import/tbaa.ll

  Log Message:
  -----------
  [mlir][llvm] Import access group metadata.

The revision adds support to import access group metadata from LLVM IR.
It closely follows the design of the TBAA metadata import with an
up-front conversion of the metadata nodes to operations stored in the
body of a module-level metadata operation. The revision chooses to use
only one module-level metadata operation for all kinds of metadata.
This  design ensures there is only one metadata operation that pollutes
the user namespace.

The import of loop metadata, which will use the access groups,
is left to a follow up revision.

Reviewed By: Dinistro

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




More information about the All-commits mailing list