[all-commits] [llvm/llvm-project] e630a5: [mlir][llvm] Fuse MD_access_group & MD_loop import

Christian Ulmann via All-commits all-commits at lists.llvm.org
Thu Feb 9 05:43:51 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e630a502230f8779bddd214094d28fef61fde866
      https://github.com/llvm/llvm-project/commit/e630a502230f8779bddd214094d28fef61fde866
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2023-02-09 (Thu, 09 Feb 2023)

  Changed paths:
    M mlir/include/mlir/Target/LLVMIR/ModuleImport.h
    M mlir/lib/Target/LLVMIR/LoopAnnotationImporter.cpp
    M mlir/lib/Target/LLVMIR/LoopAnnotationImporter.h
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    M mlir/test/Target/LLVMIR/Import/import-failure.ll

  Log Message:
  -----------
  [mlir][llvm] Fuse MD_access_group & MD_loop import

This commit moves the importing logic of access group metadata into the
loop annotation importer. These two metadata imports can be grouped
because access groups are only used in combination with
`llvm.loop.parallel_accesses`.

As a nice side effect, this commit decouples the LoopAnnotationImporter
from the ModuleImport class.

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




More information about the All-commits mailing list