[all-commits] [llvm/llvm-project] a77cd5: [mlir] Add support for specifying printing flags w...

River Riddle via All-commits all-commits at lists.llvm.org
Mon Oct 18 08:16:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a77cd55dea058395f787effff8411f1173bf69d8
      https://github.com/llvm/llvm-project/commit/a77cd55dea058395f787effff8411f1173bf69d8
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2021-10-18 (Mon, 18 Oct 2021)

  Changed paths:
    M mlir/include/mlir/IR/Diagnostics.h
    M mlir/lib/IR/Diagnostics.cpp
    M mlir/lib/IR/Operation.cpp

  Log Message:
  -----------
  [mlir] Add support for specifying printing flags when adding an op to a Diagnostic

This removes edge cases where the default flags we want to use
during printing (e.g. local scope, eliding attributes, etc.)
get missed/dropped.

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




More information about the All-commits mailing list