With -Os turned on, results in 2-5% binary size reduction
(depends on the original binary). Without it, the binary size
is essentially unchanged.
Depends on D113128
Paths
| Differential D113331
[mlir][ods] Unique attribute, successor, region constraints ClosedPublic Authored by Mogball on Nov 5 2021, 10:15 PM.
Details Summary With -Os turned on, results in 2-5% binary size reduction Depends on D113128
Diff Detail
Event Timeline
rriddle added inline comments.
This revision now requires changes to proceed.Nov 9 2021, 12:32 PM Mogball added inline comments.
Mogball added inline comments.
Mogball marked 7 inline comments as done. Comment ActionsReview comments, and changing Constraint constructors to allow usage with Mogball added a child revision: D113714: [mlir][ods] Cleanup of Class Codegen helper.Nov 11 2021, 2:18 PM Closed by commit rGb8186b313c59: [mlir][ods] Unique attribute, successor, region constraints (authored by Mogball). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 386695 mlir/include/mlir/TableGen/Attribute.h
mlir/include/mlir/TableGen/CodeGenHelpers.h
mlir/include/mlir/TableGen/Constraint.h
mlir/include/mlir/TableGen/Predicate.h
mlir/include/mlir/TableGen/Type.h
mlir/lib/TableGen/Attribute.cpp
mlir/lib/TableGen/Constraint.cpp
mlir/lib/TableGen/Type.cpp
mlir/test/mlir-tblgen/constraint-unique.td
mlir/test/mlir-tblgen/predicate.td
mlir/test/mlir-tblgen/rewriter-static-matcher.td
mlir/tools/mlir-tblgen/CodeGenHelpers.cppmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
mlir/tools/mlir-tblgen/RewriterGen.cpp
|
Why do we need the "Local" here?