[all-commits] [llvm/llvm-project] 3b4d24: [mlir] Accept an LLVM::LLVMFuncOp in the builder o...

ftynse via All-commits all-commits at lists.llvm.org
Mon Feb 3 13:28:28 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b4d24d7701484bee32b97d547b11958fee2622b
      https://github.com/llvm/llvm-project/commit/3b4d24d7701484bee32b97d547b11958fee2622b
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2020-02-03 (Mon, 03 Feb 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp

  Log Message:
  -----------
  [mlir] Accept an LLVM::LLVMFuncOp in the builder of LLVM::CallOp

Summary:
Replace the generic zero- and one-result builders in LLVM::CallOp with a custom
builder that takes an LLVMFuncOp, which can be used to extract the result type
and create the symbol reference attribute. This is merely a convenience for
upcoming changes. The ODS-generated builders remain present.

Introduce LLVM::LLVMType::isVoidTy by analogy with the underlying LLVM type.

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




More information about the All-commits mailing list