[all-commits] [llvm/llvm-project] a9bbba: [mlir] Elide large elements attrs when printing Op...
River Riddle via All-commits
all-commits at lists.llvm.org
Tue May 11 13:50:59 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a9bbbaaa8810b22c9672694d576e3a0a210af54a
https://github.com/llvm/llvm-project/commit/a9bbbaaa8810b22c9672694d576e3a0a210af54a
Author: River Riddle <riddleriver at gmail.com>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M mlir/lib/IR/Diagnostics.cpp
Log Message:
-----------
[mlir] Elide large elements attrs when printing Operations in diagnostics
Diagnostics are intended to be read by users, and in most cases displayed in a terminal. When not eliding huge element attributes, in some cases we end up dumping hundreds of megabytes(gigabytes) to the terminal (or logs), completely obfuscating the main diagnostic being shown.
Differential Revision: https://reviews.llvm.org/D102272
More information about the All-commits
mailing list