I am planning to change the StringMap hash function in D142862,
which breaks mlir/test/Transforms/print-op-graph.mlir because
it changes the iteration order.
A map isn't necessary in this situation. Switch to SmallVector instead.
Paths
| Differential D143239
[mlir] remove StringMap to make -view-op-graph attr order deterministic AbandonedPublic Authored by erikdesjardins on Feb 2 2023, 7:11 PM.
Details Summary I am planning to change the StringMap hash function in D142862, A map isn't necessary in this situation. Switch to SmallVector instead.
Diff Detail
Event Timelineerikdesjardins added reviewers: springerm, mehdi_amini, python3kgae, mravishankar.Feb 2 2023, 7:12 PM
This revision is now accepted and ready to land.Feb 2 2023, 8:31 PM Comment Actions use ArrayRef
Revision Contents
Diff 494501 mlir/lib/Transforms/ViewOpGraph.cpp
|
Will the max size of Attributes change in the future?