Commit 2eb997d
[LoongArch] Make sure that the LoongArchISD::BSTRINS node uses the correct
The `MSB` must not be greater than `GRLen`. Without this patch, newly
added test cases will crash with LoongArch32, resulting in a 'cannot
select' error.
(cherry picked from commit edd4c6c)MSB value (llvm#84454)1 parent dba2a75 commit 2eb997d
File tree
2 files changed
+16
-1
lines changed- llvm
- lib/Target/LoongArch
- test/CodeGen/LoongArch
2 files changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2343 | 2343 | | |
2344 | 2344 | | |
2345 | 2345 | | |
2346 | | - | |
| 2346 | + | |
| 2347 | + | |
| 2348 | + | |
2347 | 2349 | | |
2348 | 2350 | | |
2349 | 2351 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
148 | 161 | | |
149 | 162 | | |
150 | 163 | | |
| |||
0 commit comments