Commit 5c37899
committed
[AArch64] Do not generate ld1IndexPost when inserting into lane 0 of a zero vector
If we are inserting into lane 0 of a zero vector, we can use the ldr
instructions to get the upper-lane zero for free. Do not attempt to make
post-inc operations in that case, which should be less micro-ops overall.1 parent 2dfcc30 commit 5c37899
File tree
2 files changed
+11
-11
lines changed- llvm
- lib/Target/AArch64
- test/CodeGen/AArch64
2 files changed
+11
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23395 | 23395 | | |
23396 | 23396 | | |
23397 | 23397 | | |
| 23398 | + | |
| 23399 | + | |
23398 | 23400 | | |
23399 | 23401 | | |
23400 | 23402 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13340 | 13340 | | |
13341 | 13341 | | |
13342 | 13342 | | |
13343 | | - | |
13344 | | - | |
13345 | | - | |
| 13343 | + | |
| 13344 | + | |
| 13345 | + | |
13346 | 13346 | | |
13347 | 13347 | | |
13348 | 13348 | | |
| |||
14133 | 14133 | | |
14134 | 14134 | | |
14135 | 14135 | | |
14136 | | - | |
14137 | | - | |
| 14136 | + | |
| 14137 | + | |
14138 | 14138 | | |
14139 | 14139 | | |
14140 | | - | |
14141 | | - | |
14142 | | - | |
14143 | | - | |
| 14140 | + | |
14144 | 14141 | | |
14145 | | - | |
14146 | | - | |
| 14142 | + | |
| 14143 | + | |
| 14144 | + | |
14147 | 14145 | | |
14148 | 14146 | | |
14149 | 14147 | | |
| |||
0 commit comments