LLVM/project dc1ff41mlir/test/mlir-tblgen op-attribute.td op-decl-and-defs.td, mlir/tools/mlir-tblgen OpDefinitionsGen.cpp

[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.
DeltaFile
+57-65mlir/test/mlir-tblgen/op-attribute.td
+10-11mlir/test/mlir-tblgen/op-decl-and-defs.td
+4-5mlir/test/mlir-tblgen/constraint-unique.td
+2-2mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
+1-2mlir/test/mlir-tblgen/op-format.td
+1-2mlir/test/mlir-tblgen/op-result.td
+75-876 files

UnifiedSplitRaw