[all-commits] [llvm/llvm-project] 8066f2: [MLIR] Add argument insertion helpers for Function...

Fabian Schuiki via All-commits all-commits at lists.llvm.org
Thu Jul 1 00:22:38 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8066f22c4663d9ee6c763d9108c89448e5c19848
      https://github.com/llvm/llvm-project/commit/8066f22c4663d9ee6c763d9108c89448e5c19848
  Author: Fabian Schuiki <fabian at schuiki.ch>
  Date:   2021-07-01 (Thu, 01 Jul 2021)

  Changed paths:
    M mlir/include/mlir/IR/BuiltinTypes.td
    M mlir/include/mlir/IR/FunctionSupport.h
    M mlir/lib/IR/BuiltinTypes.cpp
    M mlir/lib/IR/FunctionSupport.cpp
    A mlir/test/IR/test-func-insert-arg.mlir
    A mlir/test/IR/test-func-insert-result.mlir
    M mlir/test/lib/IR/TestFunc.cpp

  Log Message:
  -----------
  [MLIR] Add argument insertion helpers for FunctionLike

Add helpers to facilitate adding arguments and results to operations
that implement the `FunctionLike` trait. These operations already have a
convenient argument and result *erasure* mechanism, but a corresopnding
utility for insertion is missing. This introduces such a utility.




More information about the All-commits mailing list