[all-commits] [llvm/llvm-project] e7ab36: Change elided large constant syntax to make it mor...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Wed Jan 19 12:45:47 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7ab36f191108cb42e85702b9a90d92cefdff6ec
      https://github.com/llvm/llvm-project/commit/e7ab36f191108cb42e85702b9a90d92cefdff6ec
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2022-01-19 (Wed, 19 Jan 2022)

  Changed paths:
    M mlir/lib/IR/AsmPrinter.cpp
    M mlir/test/CAPI/ir.c
    M mlir/test/IR/pretty-attributes.mlir
    M mlir/test/python/ir/operation.py

  Log Message:
  -----------
  Change elided large constant syntax to make it more explicit

When the printer is requested to elide large constant, we emit an opaque
attribute instead. This patch fills the dialect name with
"elided_large_const" instead of "_" to remove some user confusion when
they later try to consume it.

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




More information about the All-commits mailing list