Commit 0b974f6
[DAG] isGuaranteedNotToBeUndefOrPoisonForTargetNode - add fallback implementation (llvm#86125)
Allow targets to rely on TargetLowering::isGuaranteedNotToBeUndefOrPoisonForTargetNode to test nodes for canCreateUndefOrPoisonForTargetNode + all arguments are isGuaranteedNotToBeUndefOrPoison.
Targets can still perform this themselves for specific special case nodes (e.g. target shuffles).
Matches the fallback in SelectionDAG::isGuaranteedNotToBeUndefOrPoison1 parent 482efb9 commit 0b974f6
File tree
2 files changed
+12
-3
lines changed- llvm/lib/CodeGen/SelectionDAG
2 files changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5042 | 5042 | | |
5043 | 5043 | | |
5044 | 5044 | | |
5045 | | - | |
5046 | | - | |
| 5045 | + | |
| 5046 | + | |
| 5047 | + | |
5047 | 5048 | | |
5048 | 5049 | | |
5049 | 5050 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3786 | 3786 | | |
3787 | 3787 | | |
3788 | 3788 | | |
3789 | | - | |
| 3789 | + | |
| 3790 | + | |
| 3791 | + | |
| 3792 | + | |
| 3793 | + | |
| 3794 | + | |
| 3795 | + | |
| 3796 | + | |
| 3797 | + | |
3790 | 3798 | | |
3791 | 3799 | | |
3792 | 3800 | | |
| |||
0 commit comments