This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Add operator< to Value
AbandonedPublic

Authored by springerm on Oct 11 2021, 10:01 PM.

Details

Summary

This makes Value usable with LLVM containers such as llvm::EquivalenceClasses.

Diff Detail

Event Timeline

springerm created this revision.Oct 11 2021, 10:01 PM
springerm requested review of this revision.Oct 11 2021, 10:01 PM
rriddle requested changes to this revision.Oct 11 2021, 10:31 PM

Can we just change llvm::EquivalenceClasses to take a comparator instead?

This revision now requires changes to proceed.Oct 11 2021, 10:31 PM
springerm abandoned this revision.Oct 18 2021, 8:57 PM

Created a new revision D112052 which updates llvm::EquivalenceClasses as suggested. Closing this revision.