This also speeds up some benchmarks in compiling simple fortan file by 2x!
Fixes #62687
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Func/Transforms/DuplicateFunctionElimination.cpp | ||
---|---|---|
57–58 ↗ | (On Diff #522056) | Why commented out? Can we remove dead code? |
mlir/lib/Dialect/Func/Transforms/DuplicateFunctionElimination.cpp | ||
---|---|---|
57–58 ↗ | (On Diff #522056) | Actually this is a lingering bug, thanks for noticing I had forgotten. We can't implement a "compare these properties equals BUT for one field" generically. Luckily this isn't a generic method! I'll remove the change in this file and sending it in a separate review. |
Comment Actions
Thanks for the fast action on this, @mehdi_amini! This solves my performance problem, and flang builds correctly and passes all of the lit tests.