Commit cf3d136
authored
[AArch64] Do not generate ld1IndexPost when inserting into lane 0 of a zero vector (llvm#145723)
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 e980523 commit cf3d136
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 | |
|---|---|---|---|
| |||
23389 | 23389 | | |
23390 | 23390 | | |
23391 | 23391 | | |
| 23392 | + | |
| 23393 | + | |
23392 | 23394 | | |
23393 | 23395 | | |
23394 | 23396 | | |
| |||
| 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