[all-commits] [llvm/llvm-project] 554e40: Add a message to mlir-opt when reading from stdin ...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Mon Mar 13 06:28:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 554e40d6ba1cdeef1c0b82469bce3978fabc84a9
      https://github.com/llvm/llvm-project/commit/554e40d6ba1cdeef1c0b82469bce3978fabc84a9
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2023-03-13 (Mon, 13 Mar 2023)

  Changed paths:
    M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp

  Log Message:
  -----------
  Add a message to mlir-opt when reading from stdin to avoid being waiting for nothing

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.

Reviewed By: rriddle

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




More information about the All-commits mailing list