Commit e5b8c24
authored
[DAG] Add ComputeNumSignBits(FREEZE(X)) handling (llvm#161507)
If X is known never under/poison then skip the freeze and return ComputeNumSignBits(X)1 parent a4767e6 commit e5b8c24
File tree
2 files changed
+5
-6
lines changed- llvm
- lib/CodeGen/SelectionDAG
- test/CodeGen/AArch64
2 files changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4762 | 4762 | | |
4763 | 4763 | | |
4764 | 4764 | | |
| 4765 | + | |
| 4766 | + | |
| 4767 | + | |
| 4768 | + | |
| 4769 | + | |
4765 | 4770 | | |
4766 | 4771 | | |
4767 | 4772 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
469 | | - | |
470 | 469 | | |
471 | 470 | | |
472 | 471 | | |
473 | 472 | | |
474 | 473 | | |
475 | 474 | | |
476 | | - | |
477 | | - | |
478 | 475 | | |
479 | 476 | | |
480 | 477 | | |
| |||
485 | 482 | | |
486 | 483 | | |
487 | 484 | | |
488 | | - | |
489 | 485 | | |
490 | 486 | | |
491 | 487 | | |
492 | 488 | | |
493 | 489 | | |
494 | 490 | | |
495 | | - | |
496 | | - | |
497 | 491 | | |
498 | 492 | | |
499 | 493 | | |
| |||
0 commit comments