Commit c82fa16
committed
[AArch64] Enable AvoidLDAPUR for cpu=generic between armv9.0 and armv9.3.
As added in llvm#124274, CPUs in this range can suffer from performance issues with
ldapur. As the gain from ldar->ldapr is expected to be greater than the minor
gain from ldapr->ldapur, this opts to avoid the instruction under the default
-mcpu=generic when the -march is less that armv9.3.1 parent 650beee commit c82fa16
File tree
4 files changed
+11
-4
lines changed- llvm
- lib/Target/AArch64
- test/CodeGen/AArch64/Atomics
4 files changed
+11
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
129 | 134 | | |
130 | 135 | | |
131 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4272 | 4272 | | |
4273 | 4273 | | |
4274 | 4274 | | |
4275 | | - | |
| 4275 | + | |
4276 | 4276 | | |
4277 | 4277 | | |
4278 | 4278 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
0 commit comments