[all-commits] [llvm/llvm-project] e4c74f: Don't elide splat attributes during printing

tberghammer via All-commits all-commits at lists.llvm.org
Fri Nov 27 06:47:19 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4c74fd9ddd90fd269620c0c669455dbd6b29bb9
      https://github.com/llvm/llvm-project/commit/e4c74fd9ddd90fd269620c0c669455dbd6b29bb9
  Author: Tamas Berghammer <tberghammer at google.com>
  Date:   2020-11-27 (Fri, 27 Nov 2020)

  Changed paths:
    M mlir/lib/IR/AsmPrinter.cpp
    M mlir/test/IR/pretty-attributes.mlir

  Log Message:
  -----------
  Don't elide splat attributes during printing

A splat attribute have a single element during printing so we should
treat it as such when we decide if we elide it or not based on the flag
intended to elide large attributes.

Reviewed By: rriddle, mehdi_amini

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




More information about the All-commits mailing list