[all-commits] [llvm/llvm-project] 8676e1: [MLIR] Improve doc for -mlir-print-local-scope and...

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Mon Jan 24 21:45:54 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8676e10f744ce3500b491af16bd96713e9ce2803
      https://github.com/llvm/llvm-project/commit/8676e10f744ce3500b491af16bd96713e9ce2803
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2022-01-25 (Tue, 25 Jan 2022)

  Changed paths:
    M mlir/lib/IR/AsmPrinter.cpp

  Log Message:
  -----------
  [MLIR] Improve doc for -mlir-print-local-scope and unhide

This is a pretty important debugging option to stay hidden. Also,
improve its cmd-line description; the current description gives no hint
that this is the one to use to have locations printed inline.
Out-of-line locations are also unproductive to work with in many cases
where the locations are actually compact, which is also why this option
should be more visible.  This revision doesn't change the default on it
though.

Reviewed By: rriddle, jpienaar

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




More information about the All-commits mailing list