2 Commits

Author SHA1 Message Date
Mehdi Amini
27b739228b Add an operator == and != to properties, use it in DuplicateFunctionElimination
Differential Revision: https://reviews.llvm.org/D150596
2023-05-15 12:10:46 -07:00
Frederik Gossen
b12bcf3fb7 [MLIR] Add pass to deduplicate functions
Deduplicate functions that are equivalent in all aspects but their symbol name.
The pass chooses one representative per equivalence class, erases the remainder, and updates function calls accordingly.

Differential Revision: https://reviews.llvm.org/D144738
2023-02-27 10:59:53 -05:00