[all-commits] [llvm/llvm-project] 011f65: [mlir] Add sectionMemoryMapper to ExecutionEngineO...

Emilio Cota via All-commits all-commits at lists.llvm.org
Wed Feb 23 11:57:15 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 011f653265e1c444a77fb24cf03b2ea7faa517b9
      https://github.com/llvm/llvm-project/commit/011f653265e1c444a77fb24cf03b2ea7faa517b9
  Author: Emilio Cota <ecg at google.com>
  Date:   2022-02-23 (Wed, 23 Feb 2022)

  Changed paths:
    M mlir/include/mlir/ExecutionEngine/ExecutionEngine.h
    M mlir/lib/ExecutionEngine/ExecutionEngine.cpp

  Log Message:
  -----------
  [mlir] Add sectionMemoryMapper to ExecutionEngineOptions

By specifying a sectionMemoryMapper, users can control how
memory for JIT code is allocated.

In particular, I need this in order to use a named memory
region so that profilers such as perf(1) can correctly label
execution cycles coming from JIT'ed code.

Reviewed-by: ezhulenev

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




More information about the All-commits mailing list