llvm-project
0e4f5448 - [DAG] Add getFreeze(SDValue, UndefPoisonKind) variant (#245320)

Commit
8 days ago
[DAG] Add getFreeze(SDValue, UndefPoisonKind) variant (#245320) Makes it easier to filter for just POISON/UNDEF cases, which will be more common in upcoming patches - but avoids the need for manual DemandedElts handling. I had hoped to entirely remove the isGuaranteedNotToBeUndefOrPoison check inside getNode() but there's a lot of code changes due to different SDLoc etc. that should be handled separately.
Author
Parents
Loading