Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MachineOutliner][NFC] Remove unnecessary RepeatedSequenceLocs.clear() (
llvm#106171) - When `getOutliningCandidateInfo()` returns `std::nullopt` (meaning no `OutlinedFunction` is created), there is no need to clear the input argument, `RepeatedSequenceLocs`, as it's already being cleared in the main loop of `findCandidates()`. - Replaced `2` by `MinRepeats`, which I missed from llvm#105398
- Loading branch information