[all-commits] [llvm/llvm-project] c3aa15: [mlir][emitc] Add emitc.do op to the dialect (#143...

Vlad Lazar via All-commits all-commits at lists.llvm.org
Wed Oct 8 06:03:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3aa1584e0981d5bbd26c076c3a2298ccf34e3ca
      https://github.com/llvm/llvm-project/commit/c3aa1584e0981d5bbd26c076c3a2298ccf34e3ca
  Author: Vlad Lazar <lazar_2004 at list.ru>
  Date:   2025-10-08 (Wed, 08 Oct 2025)

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

  Log Message:
  -----------
  [mlir][emitc] Add emitc.do op to the dialect (#143008)

This patch adds:
- Emission of the corresponding ops in the CppEmitter
- Conversion from the SCF dialect to the EmitC dialect for the ops
- Corresponding tests



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