HomePhabricator

[SelectionDAG] computeKnownBits/ComputeNumSignBits - cleanup demanded/unknown…

Authored by RKSimon on Sun, Sep 22, 11:47 AM.

Description

[SelectionDAG] computeKnownBits/ComputeNumSignBits - cleanup demanded/unknown paths. NFCI.

Merge the calls, just adjust the demandedelts if we have a valid extract_subvector constant index, else demand all elts.

llvm-svn: 372521

Details

Committed
RKSimonSun, Sep 22, 11:47 AM
Parents
rG2c558bd84540: [XRay] Silence static analyzer dyn_cast<BufferExtents> null dereference warning.
Branches
Unknown
Tags
Unknown