[all-commits] [llvm/llvm-project] f4c05b: [mlir][toy] Update dialect conversion example (#15...

Matthias Springer via All-commits all-commits at lists.llvm.org
Sun Jul 27 12:58:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4c05be544a02d7271605e09700310a77f5e80e0
      https://github.com/llvm/llvm-project/commit/f4c05be544a02d7271605e09700310a77f5e80e0
  Author: Matthias Springer <me at m-sp.org>
  Date:   2025-07-27 (Sun, 27 Jul 2025)

  Changed paths:
    M mlir/docs/Tutorials/Toy/Ch-5.md
    M mlir/examples/toy/Ch5/mlir/LowerToAffineLoops.cpp
    M mlir/examples/toy/Ch6/mlir/LowerToAffineLoops.cpp
    M mlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
    M mlir/examples/toy/Ch7/mlir/LowerToAffineLoops.cpp
    M mlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp

  Log Message:
  -----------
  [mlir][toy] Update dialect conversion example (#150826)

The Toy tutorial used outdated API. Update the example to:

* Use the `OpAdaptor` in all places.
* Do not mix `RewritePattern` and `ConversionPattern`. This cannot
always be done safely and should not be advertised in the example code.



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