[all-commits] [llvm/llvm-project] 1d6a90: Example:

Stella Laurenzo via All-commits all-commits at lists.llvm.org
Fri Jul 15 23:27:30 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d6a90418e4bfc294b4174880e93cb43835ebdf5
      https://github.com/llvm/llvm-project/commit/1d6a90418e4bfc294b4174880e93cb43835ebdf5
  Author: Stella Laurenzo <stellaraccident at gmail.com>
  Date:   2022-07-15 (Fri, 15 Jul 2022)

  Changed paths:
    M mlir/lib/Pass/IRPrinting.cpp
    M mlir/test/Pass/ir-printing.mlir
    M mlir/test/Pass/run-reproducer.mlir

  Log Message:
  -----------
  Example:

```
// -----// IR Dump Before LowerLinalgMicrokernels (iree-vmvx-lower-linalg-microkernels) //----- //
```

I've been meaning to suggest this for a long time, and I think the only reason we don't have it is because we didn't used to have the `getArgument()` handy when printing these comments. When debugging or putting a pipeline together based on such dumps, I often find myself grepping for the argument name of the pass (which is often related but not universally).




More information about the All-commits mailing list