[all-commits] [llvm/llvm-project] fdaf2f: [mlir][LLVM] Fix export call mapping for calls wit...

Christian Ulmann via All-commits all-commits at lists.llvm.org
Mon Aug 21 22:32:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fdaf2f9c96fa1d1ea46cdf09ec372056b32cf2e0
      https://github.com/llvm/llvm-project/commit/fdaf2f9c96fa1d1ea46cdf09ec372056b32cf2e0
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2023-08-22 (Tue, 22 Aug 2023)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp
    M mlir/test/Target/LLVMIR/llvmir.mlir

  Log Message:
  -----------
  [mlir][LLVM] Fix export call mapping for calls with a result

This commit adds a missed update of the call mapping in the LLVM export
for calls with no result. Before, these calls were not inserted and
thus, the export dropped branch weights on them.

Reviewed By: zero9178

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




More information about the All-commits mailing list