Commit dda15ad
authored
[mlir][spirv] Use MapVector for BlockMergeInfoMap (llvm#169636)
This should ensure that the structurizer while loop is deterministic
across runs. Use of `MapVector` addresses the source of the
nondeterminism which is use of a `Block*` as a map key.
fixes llvm#1285471 parent 8e6fb0e commit dda15ad
File tree
2 files changed
+3
-4
lines changed- mlir/lib/Target/SPIRV/Deserialization
2 files changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2923 | 2923 | | |
2924 | 2924 | | |
2925 | 2925 | | |
2926 | | - | |
2927 | | - | |
2928 | | - | |
2929 | 2926 | | |
2930 | 2927 | | |
2931 | 2928 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
0 commit comments