This is an archive of the discontinued LLVM Phabricator instance.

[DAG] Move DAGCombiner::GetDemandedBits to SelectionDAG
ClosedPublic

Authored by RKSimon on Jul 25 2017, 7:46 AM.

Details

Summary

This patch moves the DAGCombiner::GetDemandedBits function to SelectionDAG::GetDemandedBits as a first step towards making it easier for targets to get to the source of any demanded bits without the limitations of SimplifyDemandedBits.

Diff Detail

Repository
rL LLVM

Event Timeline

RKSimon created this revision.Jul 25 2017, 7:46 AM
niravd accepted this revision.Jul 25 2017, 8:26 AM

LGTM.

This revision is now accepted and ready to land.Jul 25 2017, 8:26 AM
This revision was automatically updated to reflect the committed changes.