Commit a95bf58
[ARM] Fix Machine Outliner LDRD/STRD handling in Thumb mode.
This is a fix for PR50481
Immediate values for AddrModeT2_i8s4 are already scaled in MCinst operand.
This patch changes the number of bits and scale factor to reflect that
state when checking stack offset status. AddrModeT2_i7s[2|4] also have
this particularity but since MVE instructions are not outlined, just move
these cases to the unhandled ones.
Differential Revision: https://reviews.llvm.org/D103167
(cherry picked from commit 6c78dbd)1 parent a066f4e commit a95bf58
File tree
2 files changed
+19
-23
lines changed- llvm
- lib/Target/ARM
- test/CodeGen/ARM
2 files changed
+19
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5934 | 5934 | | |
5935 | 5935 | | |
5936 | 5936 | | |
| 5937 | + | |
| 5938 | + | |
| 5939 | + | |
5937 | 5940 | | |
5938 | 5941 | | |
5939 | 5942 | | |
| |||
5976 | 5979 | | |
5977 | 5980 | | |
5978 | 5981 | | |
| 5982 | + | |
| 5983 | + | |
| 5984 | + | |
| 5985 | + | |
5979 | 5986 | | |
5980 | 5987 | | |
5981 | 5988 | | |
| |||
5984 | 5991 | | |
5985 | 5992 | | |
5986 | 5993 | | |
5987 | | - | |
5988 | | - | |
5989 | | - | |
5990 | | - | |
5991 | | - | |
5992 | | - | |
5993 | | - | |
5994 | | - | |
5995 | | - | |
5996 | | - | |
5997 | | - | |
5998 | 5994 | | |
5999 | 5995 | | |
6000 | 5996 | | |
| |||
6004 | 6000 | | |
6005 | 6001 | | |
6006 | 6002 | | |
6007 | | - | |
6008 | | - | |
| 6003 | + | |
| 6004 | + | |
6009 | 6005 | | |
6010 | 6006 | | |
6011 | 6007 | | |
| |||
Lines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
| 89 | + | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
| 94 | + | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
| 99 | + | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
209 | | - | |
210 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| |||
0 commit comments