[all-commits] [llvm/llvm-project] ce2172: [MLIR] Fix tblgen properties printing to filter th...
arthurqiu via All-commits
all-commits at lists.llvm.org
Wed Jan 24 13:54:04 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ce21721d1dd0f11c3ff38d16050e65861908a395
https://github.com/llvm/llvm-project/commit/ce21721d1dd0f11c3ff38d16050e65861908a395
Author: arthurqiu <qiurenjie at msn.com>
Date: 2024-01-24 (Wed, 24 Jan 2024)
Changed paths:
M mlir/test/IR/properties.mlir
M mlir/tools/mlir-tblgen/OpFormatGen.cpp
Log Message:
-----------
[MLIR] Fix tblgen properties printing to filter them out of discardable attrs dict (#79243)
This is to fix the bug reported in
https://discourse.llvm.org/t/whats-the-recommended-way-to-use-prop-dict/75921
When `prop-dict` is used in the assembly format, `attr-dict` should
print discardable attributes only.
Co-authored-by: Arthurq Qiu <arthurq at nvidia.com>
More information about the All-commits
mailing list