[all-commits] [llvm/llvm-project] e1eb2a: [MLIR][LLVM] Add inlining support for loop annotat...

Christian Ulmann via All-commits all-commits at lists.llvm.org
Wed Jun 5 02:20:56 PDT 2024


  Branch: refs/heads/users/dinistro/handle-loop-annotation-in-inliner
  Home:   https://github.com/llvm/llvm-project
  Commit: e1eb2acf42839c4002e8a0b8db388f733da826a2
      https://github.com/llvm/llvm-project/commit/e1eb2acf42839c4002e8a0b8db388f733da826a2
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2024-06-05 (Wed, 05 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.cpp
    A mlir/test/Dialect/LLVMIR/inlining-loop-annotation.mlir

  Log Message:
  -----------
  [MLIR][LLVM] Add inlining support for loop annotations

This commit extends the LLVM dialect's inliner interface support
updating loop annotation attributes. This is necessary because the loop
annotations can contain debug locations, which are verified by LLVM's
verifier. LLVM requires these locations to have the same scope as the
function this attribute is contained in.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list