[all-commits] [llvm/llvm-project] db5965: [MLIR][LLVM] Generate LLVM lifetime intrinsics whi...

definelicht via All-commits all-commits at lists.llvm.org
Mon Jan 30 05:37:43 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db59654e236780ea713eb1015334dc4ee555f576
  Author: Johannes de Fine Licht <johannes.definelicht at nextsilicon.com>
  Date:   2023-01-30 (Mon, 30 Jan 2023)

  Changed paths:
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/test/Dialect/LLVMIR/inlining.mlir

  Log Message:
  [MLIR][LLVM] Generate LLVM lifetime intrinsics while inlining.

Extend `LLVMInlinerInterface` to inline lifetime intrinsics for
`LLVM::AllocaOp` operations, and to insert new lifetime intrinsics when
an alloca is moved to the entry block that restrict its scope to where
the call was before inlining.

Depends on D142436

Reviewed By: gysit

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

More information about the All-commits mailing list