[all-commits] [llvm/llvm-project] 2633d9: [mlir][emitc] Add a structured for operation (#68206)

Gil Rapaport via All-commits all-commits at lists.llvm.org
Thu Oct 26 06:40:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2633d94f289b3d5aa86a1b00591a3c755ce693fa
      https://github.com/llvm/llvm-project/commit/2633d94f289b3d5aa86a1b00591a3c755ce693fa
  Author: Gil Rapaport <gil.rapaport at mobileye.com>
  Date:   2023-10-26 (Thu, 26 Oct 2023)

  Changed paths:
    M mlir/docs/Dialects/emitc.md
    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/for.mlir
    M mlir/test/Dialect/EmitC/invalid_ops.mlir
    M mlir/test/Dialect/EmitC/ops.mlir
    M mlir/test/Target/Cpp/for.mlir

  Log Message:
  -----------
  [mlir][emitc] Add a structured for operation (#68206)

Add an emitc.for op to the EmitC dialect as a lowering target for
scf.for, replacing its current direct translation to C; The translator
now handles emitc.for instead.




More information about the All-commits mailing list