It happens from time to time that one may run mlir-opt expecting something to
happen, but the process is waiting on stdin. Print a message when reading from
stdin to warn developers.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Could this be done only if detected interactive session? E.g., when piping commands I'd prefer not to see this message (which is probably the majority of times when I use opt).
mlir/lib/Tools/mlir-opt/MlirOptMain.cpp | ||
---|---|---|
341–350 | This deserves a comment of some kind. |
This deserves a comment of some kind.