[llvm] [DAG] Use UndefPoisonKind enum in isGuaranteedNotToBeUndefOrPoison/canCreateUndefOrPoison (PR #196145)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed May 6 13:58:39 PDT 2026


================
@@ -2571,7 +2571,9 @@ SDValue SelectionDAG::getFreeze(SDValue V) {
 
 SDValue SelectionDAG::getFreeze(SDValue V, const APInt &DemandedElts,
                                 bool PoisonOnly) {
----------------
RKSimon wrote:

@bjope Is there any case where we'd want getFreeze to be UndefOnly?

https://github.com/llvm/llvm-project/pull/196145


More information about the llvm-commits mailing list