Commit fab77b9
authored
Remove unnecessary fences from GSI output (#7308)
GlobalStructInference only optimizes gets of immutable fields, so even
if those gets are seqcst, they cannot synchronize with any writes. We
were being overly conservative by emitting fences in place of optimized
seqcst gets before.1 parent 379e5ec commit fab77b9
2 files changed
Lines changed: 11 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
477 | 471 | | |
478 | 472 | | |
479 | 473 | | |
| |||
499 | 493 | | |
500 | 494 | | |
501 | 495 | | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
| 496 | + | |
| 497 | + | |
506 | 498 | | |
507 | 499 | | |
508 | | - | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | 500 | | |
513 | 501 | | |
514 | 502 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2077 | 2077 | | |
2078 | 2078 | | |
2079 | 2079 | | |
2080 | | - | |
2081 | | - | |
2082 | | - | |
2083 | | - | |
| 2080 | + | |
2084 | 2081 | | |
2085 | 2082 | | |
2086 | 2083 | | |
| |||
2099 | 2096 | | |
2100 | 2097 | | |
2101 | 2098 | | |
2102 | | - | |
2103 | | - | |
| 2099 | + | |
2104 | 2100 | | |
2105 | 2101 | | |
2106 | 2102 | | |
| |||
2135 | 2131 | | |
2136 | 2132 | | |
2137 | 2133 | | |
2138 | | - | |
2139 | 2134 | | |
2140 | 2135 | | |
2141 | 2136 | | |
| |||
2154 | 2149 | | |
2155 | 2150 | | |
2156 | 2151 | | |
2157 | | - | |
2158 | | - | |
| 2152 | + | |
2159 | 2153 | | |
2160 | 2154 | | |
2161 | 2155 | | |
| |||
0 commit comments