Commit a086fb2
authored
[AMDGPU][gfx1250] Add wait_xcnt before any access that cannot be repeated (#168852)
The xcnt wait is actually required before any memory access that can
only be done once, so atomic stores and volatile accesses are affected.
This patch also ensures buffer instructions are handled.1 parent eb568d6 commit a086fb2
File tree
18 files changed
+504
-6
lines changed- llvm
- lib/Target/AMDGPU
- test/CodeGen/AMDGPU
18 files changed
+504
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1871 | 1871 | | |
1872 | 1872 | | |
1873 | 1873 | | |
1874 | | - | |
1875 | | - | |
1876 | | - | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
1877 | 1880 | | |
1878 | 1881 | | |
1879 | 1882 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
588 | 592 | | |
589 | 593 | | |
590 | 594 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
776 | 776 | | |
777 | 777 | | |
778 | 778 | | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
779 | 786 | | |
780 | 787 | | |
781 | 788 | | |
| |||
2059 | 2066 | | |
2060 | 2067 | | |
2061 | 2068 | | |
| 2069 | + | |
| 2070 | + | |
| 2071 | + | |
| 2072 | + | |
| 2073 | + | |
| 2074 | + | |
| 2075 | + | |
2062 | 2076 | | |
2063 | 2077 | | |
2064 | 2078 | | |
| |||
2077 | 2091 | | |
2078 | 2092 | | |
2079 | 2093 | | |
2080 | | - | |
2081 | | - | |
2082 | | - | |
| 2094 | + | |
| 2095 | + | |
2083 | 2096 | | |
2084 | 2097 | | |
2085 | 2098 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5136 | 5136 | | |
5137 | 5137 | | |
5138 | 5138 | | |
| 5139 | + | |
5139 | 5140 | | |
5140 | 5141 | | |
5141 | 5142 | | |
| |||
6215 | 6216 | | |
6216 | 6217 | | |
6217 | 6218 | | |
| 6219 | + | |
6218 | 6220 | | |
6219 | 6221 | | |
6220 | 6222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7409 | 7409 | | |
7410 | 7410 | | |
7411 | 7411 | | |
| 7412 | + | |
7412 | 7413 | | |
7413 | 7414 | | |
| 7415 | + | |
7414 | 7416 | | |
7415 | 7417 | | |
7416 | 7418 | | |
| |||
7431 | 7433 | | |
7432 | 7434 | | |
7433 | 7435 | | |
| 7436 | + | |
7434 | 7437 | | |
7435 | 7438 | | |
| 7439 | + | |
7436 | 7440 | | |
7437 | 7441 | | |
7438 | 7442 | | |
| |||
7686 | 7690 | | |
7687 | 7691 | | |
7688 | 7692 | | |
| 7693 | + | |
7689 | 7694 | | |
7690 | 7695 | | |
7691 | 7696 | | |
| |||
7706 | 7711 | | |
7707 | 7712 | | |
7708 | 7713 | | |
| 7714 | + | |
7709 | 7715 | | |
7710 | 7716 | | |
7711 | 7717 | | |
| |||
0 commit comments