[all-commits] [llvm/llvm-project] bdb955: [MLIR] Add `print-ir` pass for debugging purposes

frgossen via All-commits all-commits at lists.llvm.org
Wed Mar 1 11:42:30 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bdb955b307c56f42290a6f88409673093841c3ab
      https://github.com/llvm/llvm-project/commit/bdb955b307c56f42290a6f88409673093841c3ab
  Author: Frederik Gossen <frgossen at google.com>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M mlir/include/mlir/Transforms/Passes.h
    M mlir/include/mlir/Transforms/Passes.td
    M mlir/lib/Transforms/CMakeLists.txt
    A mlir/lib/Transforms/PrintIR.cpp

  Log Message:
  -----------
  [MLIR] Add `print-ir` pass for debugging purposes

Add pass to print the entire IR on the debug stream.
This is meant for debugging purposes to inspect the IR at a specific point in the pipeline.

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




More information about the All-commits mailing list