Commit a7697c8
authored
[ARM] Do not assume alignment in vld1xN and vst1xN intrinsics (#106984)
These intrinsics currently assume natural alignment. Instead, respect
the alignment attribute on the intrinsic. Teach InstCombine to improve
that alignment.
If desired I could also adjust the clang frontend to add alignment
annotations equivalent to the previous behavior, but I don't see any
indication that such an assumption is correct in the ARM intrinsics
docs.
Fixes #59081.1 parent 77f0488 commit a7697c8
File tree
6 files changed
+256
-177
lines changed- llvm
- lib/Target/ARM
- test
- CodeGen/ARM
- Transforms/InstCombine/ARM
6 files changed
+256
-177
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21073 | 21073 | | |
21074 | 21074 | | |
21075 | 21075 | | |
21076 | | - | |
| 21076 | + | |
21077 | 21077 | | |
21078 | 21078 | | |
21079 | 21079 | | |
| |||
21120 | 21120 | | |
21121 | 21121 | | |
21122 | 21122 | | |
21123 | | - | |
| 21123 | + | |
21124 | 21124 | | |
21125 | 21125 | | |
21126 | 21126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
166 | 182 | | |
167 | 183 | | |
168 | 184 | | |
| |||
0 commit comments