Commit 1ea201d
authored
[WoA] Remove extra barriers after ARM LSE instructions with MSVC (#169596)
c9821ab
added extra fences after sequentially consistent stores for
compatibility with MSVC's seq_cst loads (ldr+dmb). These extra fences
should not be needed for ARM LSE instructions that have both
acquire+release semantics, which results in a two way barrier, and
should be enough for sequential consistency.
Fixes #162345
Change-Id: I9148c73d0dcf3bf1b18a0915f96cac71ac1800f21 parent 848094c commit 1ea201d
File tree
7 files changed
+9463
-3561
lines changed- llvm
- include/llvm/CodeGen
- lib
- CodeGen
- Target/AArch64
- test/CodeGen/AArch64
7 files changed
+9463
-3561
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2246 | 2246 | | |
2247 | 2247 | | |
2248 | 2248 | | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
| 2252 | + | |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
2249 | 2257 | | |
2250 | 2258 | | |
2251 | 2259 | | |
| |||
2254 | 2262 | | |
2255 | 2263 | | |
2256 | 2264 | | |
2257 | | - | |
2258 | | - | |
2259 | | - | |
2260 | | - | |
2261 | | - | |
2262 | | - | |
2263 | | - | |
2264 | 2265 | | |
2265 | 2266 | | |
2266 | 2267 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
360 | 352 | | |
361 | | - | |
362 | | - | |
| 353 | + | |
| 354 | + | |
363 | 355 | | |
364 | 356 | | |
365 | 357 | | |
| |||
1512 | 1504 | | |
1513 | 1505 | | |
1514 | 1506 | | |
1515 | | - | |
| 1507 | + | |
1516 | 1508 | | |
1517 | 1509 | | |
1518 | 1510 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29655 | 29655 | | |
29656 | 29656 | | |
29657 | 29657 | | |
29658 | | - | |
| 29658 | + | |
29659 | 29659 | | |
29660 | 29660 | | |
29661 | 29661 | | |
| |||
29664 | 29664 | | |
29665 | 29665 | | |
29666 | 29666 | | |
29667 | | - | |
29668 | | - | |
| 29667 | + | |
| 29668 | + | |
| 29669 | + | |
| 29670 | + | |
| 29671 | + | |
| 29672 | + | |
| 29673 | + | |
29669 | 29674 | | |
29670 | | - | |
29671 | | - | |
29672 | | - | |
29673 | | - | |
29674 | | - | |
29675 | | - | |
29676 | | - | |
29677 | | - | |
29678 | | - | |
29679 | | - | |
| 29675 | + | |
| 29676 | + | |
| 29677 | + | |
| 29678 | + | |
| 29679 | + | |
| 29680 | + | |
| 29681 | + | |
| 29682 | + | |
| 29683 | + | |
| 29684 | + | |
29680 | 29685 | | |
29681 | 29686 | | |
29682 | 29687 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
353 | | - | |
| 352 | + | |
| 353 | + | |
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| |||
0 commit comments