This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

rriddle created this revision.Apr 28 2020, 11:30 AM
jpienaar accepted this revision.Apr 29 2020, 3:38 PM

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
This revision was automatically updated to reflect the committed changes.