Commit 4bbb08f
Automerge: [AArch64] Recombine SETCCCARRY for legalized unsigned compares (#204504)
Type legalization can turn wide unsigned compares into SETCCCARRY nodes
fed by USUBO carry results, hiding the original high/low compare shape
from the existing CCMP conjunction/disjunction lowering.
Add an AArch64 DAG combine for SETCCCARRY that recognizes these
legalized wide-compare patterns and rebuilds them as SETCC plus AND/OR,
exposing them to the existing CCMP lowering.
This is separated from llvm/llvm-project#181822.2 files changed
Lines changed: 86 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1204 | 1204 | | |
1205 | 1205 | | |
1206 | 1206 | | |
| 1207 | + | |
1207 | 1208 | | |
1208 | 1209 | | |
1209 | 1210 | | |
| |||
28222 | 28223 | | |
28223 | 28224 | | |
28224 | 28225 | | |
| 28226 | + | |
| 28227 | + | |
| 28228 | + | |
| 28229 | + | |
| 28230 | + | |
| 28231 | + | |
| 28232 | + | |
| 28233 | + | |
| 28234 | + | |
| 28235 | + | |
| 28236 | + | |
| 28237 | + | |
| 28238 | + | |
| 28239 | + | |
| 28240 | + | |
| 28241 | + | |
| 28242 | + | |
| 28243 | + | |
| 28244 | + | |
| 28245 | + | |
| 28246 | + | |
| 28247 | + | |
| 28248 | + | |
| 28249 | + | |
| 28250 | + | |
| 28251 | + | |
| 28252 | + | |
| 28253 | + | |
| 28254 | + | |
| 28255 | + | |
| 28256 | + | |
| 28257 | + | |
| 28258 | + | |
| 28259 | + | |
28225 | 28260 | | |
28226 | 28261 | | |
28227 | 28262 | | |
| |||
30154 | 30189 | | |
30155 | 30190 | | |
30156 | 30191 | | |
| 30192 | + | |
| 30193 | + | |
30157 | 30194 | | |
30158 | 30195 | | |
30159 | 30196 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
0 commit comments