[all-commits] [llvm/llvm-project] bf5c86: Move MlirStringCallback declaration from mlir-c/IR...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Wed Nov 4 10:47:00 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bf5c8625c48c34bfdf141616587ab58af90bb587
      https://github.com/llvm/llvm-project/commit/bf5c8625c48c34bfdf141616587ab58af90bb587
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2020-11-04 (Wed, 04 Nov 2020)

  Changed paths:
    M mlir/include/mlir-c/IR.h
    M mlir/include/mlir-c/Support.h

  Log Message:
  -----------
  Move MlirStringCallback declaration from mlir-c/IR.h to mlir-c/Support.h (NFC)

This is a generic utility that can be reused beyond the IR bindings.

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


  Commit: 5b29d26b21bb1cc60b7fe9c367a762fa8860f472
      https://github.com/llvm/llvm-project/commit/5b29d26b21bb1cc60b7fe9c367a762fa8860f472
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2020-11-04 (Wed, 04 Nov 2020)

  Changed paths:
    M mlir/lib/Bindings/Python/IRModules.cpp
    M mlir/lib/Bindings/Python/PybindUtils.h

  Log Message:
  -----------
  Refactor PyPrintAccumulatorm, PyFileAccumulator, and PySinglePartStringAccumulator from IRModules.cpp to PybindUtils.h

These are reusable utilities across bindings.

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


Compare: https://github.com/llvm/llvm-project/compare/d0d43b58b109...5b29d26b21bb


More information about the All-commits mailing list