Commit 4a31f7b
Darwin, Arm64 : Account for stack addresses less aligned than DI.
darwinpcs, packs some stack items, which means that one cannot
guarantee that they are aligned to DI. Check for these cases and
reject PRFM instructions then.
Note, that this generally results in use of an extra temporary reg.
clang uses 'PRFUM' instructions in those cases, so we have a missed
optimisation opportunity (low priority).
fixes issue gcc-mirror#16.
(cherry picked from commit 534aad5033dc224ed96118b67a84d496bba500ca)1 parent a3b2afd commit 4a31f7b
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9615 | 9615 | | |
9616 | 9616 | | |
9617 | 9617 | | |
| 9618 | + | |
| 9619 | + | |
| 9620 | + | |
| 9621 | + | |
9618 | 9622 | | |
9619 | 9623 | | |
9620 | 9624 | | |
| |||
0 commit comments