[all-commits] [llvm/llvm-project] d4aaf3: [mlir-c] Add mlirDialectMaterializeConstant

Maksim Levental via All-commits all-commits at lists.llvm.org
Wed Sep 23 21:05:59 PDT 2026


  Branch: refs/heads/users/makslevental/mlir-c-dialect-materialize-constant
  Home:   https://github.com/llvm/llvm-project
  Commit: d4aaf37a0cbe578fead44a8d7e4e60963fcbee9a
      https://github.com/llvm/llvm-project/commit/d4aaf37a0cbe578fead44a8d7e4e60963fcbee9a
  Author: makslevental <maksim.levental at gmail.com>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M mlir/include/mlir-c/Rewrite.h
    M mlir/lib/CAPI/Transforms/Rewrite.cpp
    M mlir/test/CAPI/rewrite.c

  Log Message:
  -----------
  [mlir-c] Add mlirDialectMaterializeConstant


  Commit: 25e5964385ecde126cc9809fb658b1f94dbf2a03
      https://github.com/llvm/llvm-project/commit/25e5964385ecde126cc9809fb658b1f94dbf2a03
  Author: makslevental <maksim.levental at gmail.com>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M mlir/test/CAPI/rewrite.c

  Log Message:
  -----------
  [mlir-c] Fix testDialectMaterializeConstant review comments

Correct the misleading comment about the func dialect (it does have a
constant materializer; it just declines an i32 IntegerAttr), and assert
the documented insertion-point contract: the op lands in the current
insertion block and the rewriter's insertion point is preserved.


Compare: https://github.com/llvm/llvm-project/compare/5bb1135b0175...25e5964385ec

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