[all-commits] [llvm/llvm-project] 51e36f: [mlir][llvm] Add branch weights to call and invoke

Christian Ulmann via All-commits all-commits at lists.llvm.org
Mon Jan 9 01:27:16 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51e36f217f868183059aa72e2f69d1f8492330e3
      https://github.com/llvm/llvm-project/commit/51e36f217f868183059aa72e2f69d1f8492330e3
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMIRToLLVMTranslation.cpp
    M mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp
    M mlir/test/Target/LLVMIR/Import/profiling-metadata.ll
    M mlir/test/Target/LLVMIR/llvmir.mlir

  Log Message:
  -----------
  [mlir][llvm] Add branch weights to call and invoke

This commit introduces branch weight attributes to the LLVM::CallOp and
LLVM::InvokeOp and adds both import and export of them.

Reviewed By: gysit

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




More information about the All-commits mailing list