Commit 6c78dbd
committed
[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/D1031671 parent ef8df92 commit 6c78dbd
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 | |
|---|---|---|---|
| |||
5936 | 5936 | | |
5937 | 5937 | | |
5938 | 5938 | | |
| 5939 | + | |
| 5940 | + | |
| 5941 | + | |
5939 | 5942 | | |
5940 | 5943 | | |
5941 | 5944 | | |
| |||
5978 | 5981 | | |
5979 | 5982 | | |
5980 | 5983 | | |
| 5984 | + | |
| 5985 | + | |
| 5986 | + | |
| 5987 | + | |
5981 | 5988 | | |
5982 | 5989 | | |
5983 | 5990 | | |
| |||
5986 | 5993 | | |
5987 | 5994 | | |
5988 | 5995 | | |
5989 | | - | |
5990 | | - | |
5991 | | - | |
5992 | | - | |
5993 | | - | |
5994 | | - | |
5995 | | - | |
5996 | | - | |
5997 | | - | |
5998 | | - | |
5999 | | - | |
6000 | 5996 | | |
6001 | 5997 | | |
6002 | 5998 | | |
| |||
6006 | 6002 | | |
6007 | 6003 | | |
6008 | 6004 | | |
6009 | | - | |
6010 | | - | |
| 6005 | + | |
| 6006 | + | |
6011 | 6007 | | |
6012 | 6008 | | |
6013 | 6009 | | |
| |||
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