[all-commits] [llvm/llvm-project] b83caa: [mlir][llvm] Add support for loop metadata import

Christian Ulmann via All-commits all-commits at lists.llvm.org
Wed Feb 8 02:46:14 PST 2023


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

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

  Log Message:
  -----------
  [mlir][llvm] Add support for loop metadata import

This commit introduces functionality to import loop metadata. Loop
metadata nodes are transformed into LoopAnnotationAttrs and attached to
the corresponding branch operations.

Reviewed By: gysit

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




More information about the All-commits mailing list