Commit 6f9817f
committed
[AArch64][SME] Fix iterator to fixupCalleeSaveRestoreStackOffset
The iterator passed to fixupCalleeSaveRestoreStackOffset may be
incorrect when it tries to skip over the instructions that
get the current value of 'vg', when there is a 'rdsvl' instruction
straight after the prologue. That's because it doesn't check that
the instruction is still a 'frame-setup' instruction.1 parent 2064087 commit 6f9817f
File tree
2 files changed
+41
-6
lines changed- llvm
- lib/Target/AArch64
- test/CodeGen/AArch64
2 files changed
+41
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1948 | 1948 | | |
1949 | 1949 | | |
1950 | 1950 | | |
1951 | | - | |
1952 | | - | |
1953 | | - | |
1954 | | - | |
1955 | | - | |
1956 | | - | |
| 1951 | + | |
| 1952 | + | |
| 1953 | + | |
1957 | 1954 | | |
1958 | 1955 | | |
1959 | 1956 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1066 | 1066 | | |
1067 | 1067 | | |
1068 | 1068 | | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
1069 | 1107 | | |
1070 | 1108 | | |
1071 | 1109 | | |
| |||
0 commit comments