[all-commits] [llvm/llvm-project] 60c735: [mlir-opt] Don't enable `printOpOnDiagnostic` if i...

River Riddle via All-commits all-commits at lists.llvm.org
Mon May 24 16:01:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60c735d409bf8077b2611d102b9a5e5af48464d5
      https://github.com/llvm/llvm-project/commit/60c735d409bf8077b2611d102b9a5e5af48464d5
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2021-05-24 (Mon, 24 May 2021)

  Changed paths:
    M mlir/lib/Support/MlirOptMain.cpp

  Log Message:
  -----------
  [mlir-opt] Don't enable `printOpOnDiagnostic` if it was explicitly disabled.

We are currently explicitly setting the flag solely based on the value of `-verify`, which ends up ignoring the situation where the user explicitly disabled this option from the command line.

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




More information about the All-commits mailing list