HomePhabricator

[MachineOutliner][NFC] Remove buildCandidateList and replace with findCandidates

Authored by paquette on Dec 5 2018, 3:39 PM.

Description

[MachineOutliner][NFC] Remove buildCandidateList and replace with findCandidates

More refactoring.

Since the pruning logic has changed, and the candidate list is gone,
everything can be sunk into findCandidates.

We no longer need to keep track of the length of the longest substring, so we
can drop all of that logic as well.

After this, we just find all of the candidates and move to outlining.

llvm-svn: 348428

Details

Committed
paquetteDec 5 2018, 3:39 PM
Parents
rGe18d6ff036fe: [MachineOutliner][NFC] Candidates don't need to be shared_ptrs anymore
Branches
Unknown
Tags
Unknown