[all-commits] [llvm/llvm-project] 03881d: [mlir][emitc] Add a `declare_func` operation (#80297)

Marius Brehler via All-commits all-commits at lists.llvm.org
Mon Feb 5 23:49:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03881dc0a7695f4c499cc07042b8c59ad7b7335a
      https://github.com/llvm/llvm-project/commit/03881dc0a7695f4c499cc07042b8c59ad7b7335a
  Author: Marius Brehler <marius.brehler at iml.fraunhofer.de>
  Date:   2024-02-06 (Tue, 06 Feb 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
    M mlir/lib/Dialect/EmitC/IR/EmitC.cpp
    M mlir/lib/Target/Cpp/TranslateToCpp.cpp
    M mlir/test/Dialect/EmitC/invalid_ops.mlir
    M mlir/test/Dialect/EmitC/ops.mlir
    A mlir/test/Target/Cpp/declare_func.mlir

  Log Message:
  -----------
  [mlir][emitc] Add a `declare_func` operation (#80297)

This adds the `emitc.declare_func` operation that allows to emit the
declaration of an `emitc.func` at a specific location.




More information about the All-commits mailing list