[all-commits] [llvm/llvm-project] 0f1ac5: [mlir][emitc] Add add and sub operations

Marius Brehler via All-commits all-commits at lists.llvm.org
Fri Jun 23 05:27:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f1ac5e110cc2d4d5575238b52382253ad7368b0
      https://github.com/llvm/llvm-project/commit/0f1ac5e110cc2d4d5575238b52382253ad7368b0
  Author: Marius Brehler <marius.brehler at iml.fraunhofer.de>
  Date:   2023-06-23 (Fri, 23 Jun 2023)

  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/arithmetic_operators.mlir

  Log Message:
  -----------
  [mlir][emitc] Add add and sub operations

This adds operations for binary additive operators to EmitC. The input
arguments to these ops can be EmitC pointers and thus the operations can
be used for pointer arithmetic.

Reviewed By: jpienaar

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




More information about the All-commits mailing list