Commit 758014a
[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)
(cherry picked from commit d77c5c3)
Change-Id: Idef25dd69d27324c2a90e3ed4ed0b39073e812b0MSB value (llvm#84454)1 parent 43d7873 commit 758014a
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 | |
|---|---|---|---|
| |||
2310 | 2310 | | |
2311 | 2311 | | |
2312 | 2312 | | |
2313 | | - | |
| 2313 | + | |
| 2314 | + | |
| 2315 | + | |
2314 | 2316 | | |
2315 | 2317 | | |
2316 | 2318 | | |
| |||
| 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