This op dumps the associated payload IR to stderr. It has proven useful for printf-style debugging.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D137151
[mlir][transform] Add PrintOp to transform dialect ClosedPublic Authored by springerm on Nov 1 2022, 3:38 AM.
Details Summary This op dumps the associated payload IR to stderr. It has proven useful for printf-style debugging.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 2 2022, 1:57 AM This revision was landed with ongoing or failed builds.Nov 2 2022, 2:16 AM Closed by commit rG4b428364e2d2: [mlir][transform] Add PrintOp to transform dialect (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 472542 mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
mlir/lib/Dialect/Transform/IR/TransformOps.cpp
mlir/test/Dialect/Transform/ops.mlir
|
You can do ->print(llvm::errs()) and avoid this comment.