This provides a general hash and comparison for checking if two operations are equivalent. This revision also optimizes the handling of result types to take advantage of how result types are stored on the operation.
Depends On D78892
Paths
| Differential D79029
[mlir] Move the operation equivalence out of CSE and into OperationSupport ClosedPublic Authored by rriddle on Apr 28 2020, 11:30 AM.
Details Summary This provides a general hash and comparison for checking if two operations are equivalent. This revision also optimizes the handling of result types to take advantage of how result types are stored on the operation. Depends On D78892
Diff Detail
Event TimelineComment Actions Looks good as this is extracting existing function with some optimizations for common cases. This revision is now accepted and ready to land.Apr 29 2020, 3:38 PM Closed by commit rGdf00e466daf5: [mlir] Move the operation equivalence out of CSE and into OperationSupport (authored by rriddle). · Explain WhyApr 29 2020, 5:18 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 261102 mlir/include/mlir/IR/OperationSupport.h
mlir/lib/IR/OperationSupport.cpp
mlir/lib/Transforms/CSE.cpp
|