llvm-project
4197386d - [LLVM][SelectionDAG] Remove scalable vector restriction from poison analysis. (#102504)

Commit
1 year ago
[LLVM][SelectionDAG] Remove scalable vector restriction from poison analysis. (#102504) The following functions have an early exit for scalable vectors: SelectionDAG::canCreateUndefOrPoison SelectionDAG:isGuaranteedNotToBeUndefOrPoison The implementations of these don't look to be sensitive to the vector type other than some uses of demanded elts analysis that doesn't fully support scalable types. That said the initial calculation demands all elements and so I've followed the same scheme as used by TargetLowering::SimplifyDemandedBits.
Parents
Loading