[all-commits] [llvm/llvm-project] fc0fdd: [mlir] fix AsmPrinter after c1eab57673ef3e
ftynse via All-commits
all-commits at lists.llvm.org
Wed Jan 3 09:37:56 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fc0fdd1ae20062e4d77c1b7ffc5b06773c752815
https://github.com/llvm/llvm-project/commit/fc0fdd1ae20062e4d77c1b7ffc5b06773c752815
Author: Alex Zinenko <zinenko at google.com>
Date: 2024-01-03 (Wed, 03 Jan 2024)
Changed paths:
M mlir/lib/IR/AsmPrinter.cpp
M mlir/unittests/IR/OpPropertiesTest.cpp
Log Message:
-----------
[mlir] fix AsmPrinter after c1eab57673ef3e
The change in c1eab57673ef3eb2842c0fbe454d7878854cf54c fixed the
behavior of `getDiscardableAttrDictionary` for ops that are not using
properties to only return discardable attributes. AsmPrinter was relying
on the wrong behavior when printing such ops in the generic form,
assuming all attributes are discardable.
More information about the All-commits
mailing list