[all-commits] [llvm/llvm-project] 74145d: [MLIR] Combine the 2 overloads of FuncOp::build() ...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Tue Jul 7 18:22:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 74145d584126da2ce7a836d9b2240d56442f3ea1
      https://github.com/llvm/llvm-project/commit/74145d584126da2ce7a836d9b2240d56442f3ea1
  Author: Rahul Joshi <jurahul at google.com>
  Date:   2020-07-07 (Tue, 07 Jul 2020)

  Changed paths:
    M mlir/include/mlir/IR/Function.h
    M mlir/lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp
    M mlir/lib/Conversion/LinalgToStandard/LinalgToStandard.cpp
    M mlir/lib/IR/Function.cpp

  Log Message:
  -----------
  [MLIR] Combine the 2 overloads of FuncOp::build() into one.

- This will eliminate the need to pass an empty `ArrayRef<NamedAttribute>{}` when
  no named attributes are required on the function.

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




More information about the All-commits mailing list