[all-commits] [llvm/llvm-project] 19266c: [mlir][EmitC] Add an `emitc.conditional` operator ...

Marius Brehler via All-commits all-commits at lists.llvm.org
Tue Mar 12 03:27:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 19266ca389e3fc3bce9d24c074b836d6e69873ce
      https://github.com/llvm/llvm-project/commit/19266ca389e3fc3bce9d24c074b836d6e69873ce
  Author: Marius Brehler <marius.brehler at iml.fraunhofer.de>
  Date:   2024-03-12 (Tue, 12 Mar 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
    M mlir/lib/Conversion/ArithToEmitC/ArithToEmitC.cpp
    M mlir/lib/Target/Cpp/TranslateToCpp.cpp
    M mlir/test/Conversion/ArithToEmitC/arith-to-emitc.mlir
    M mlir/test/Dialect/EmitC/ops.mlir
    A mlir/test/Target/Cpp/conditional.mlir

  Log Message:
  -----------
  [mlir][EmitC] Add an `emitc.conditional` operator (#84883)

This adds an `emitc.conditional` operation for the ternary conditional
operator. Furthermore, this adds a converion from `arith.select` to the
new op.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list