[all-commits] [llvm/llvm-project] dc1ff4: [mlir][tblgen] Migrate tests to properties for att...
Krzysztof Drewniak via All-commits
all-commits at lists.llvm.org
Mon Mar 3 11:22:56 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dc1ff4145a3b3ab8d1bbe71fb05bfe15d8bbd4ae
https://github.com/llvm/llvm-project/commit/dc1ff4145a3b3ab8d1bbe71fb05bfe15d8bbd4ae
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2025-03-03 (Mon, 03 Mar 2025)
Changed paths:
M mlir/test/mlir-tblgen/constraint-unique.td
M mlir/test/mlir-tblgen/op-attribute.td
M mlir/test/mlir-tblgen/op-decl-and-defs.td
M mlir/test/mlir-tblgen/op-format.td
M mlir/test/mlir-tblgen/op-result.td
M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
Log Message:
-----------
[mlir][tblgen] Migrate tests to properties for attributes, fix remove*Attr() (#123505)
The only in-tree user of `bit usePropertiesForAttributes = 0;` was a
series of tests for the output of -gen-op-{decls,defs}. This commit
updates those tests to match the rest of the repository.
In the short term, this is intended to enable testing upcoming updates
to collective builders. In the long term, this is a step in the removal
of usePropertiesForAttributes = 0.
One side effect of these tests updates was the realization that the
autogenerated implementations of removeFooAttr() were not returning the
value of the removed attribute. This issue has been addressed and the
tests have been updated to reflect the change. This is the only
functionality change in this PR.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list