[llvm] [MachineOutliner][NFC] Refactor (PR #105398)

Michael Maitland via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 26 09:55:50 PDT 2024


================
@@ -5871,10 +5871,11 @@ static bool isLRAvailable(const TargetRegisterInfo &TRI,
   return !Live;
 }
 
-std::optional<outliner::OutlinedFunction>
+std::optional<std::unique_ptr<outliner::OutlinedFunction>>
 ARMBaseInstrInfo::getOutliningCandidateInfo(
     const MachineModuleInfo &MMI,
-    std::vector<outliner::Candidate> &RepeatedSequenceLocs) const {
+    std::vector<outliner::Candidate> &RepeatedSequenceLocs,
+    unsigned MinRepeates) const {
----------------
michaelmaitland wrote:

Repeates` -> `Repeats`?

https://github.com/llvm/llvm-project/pull/105398


More information about the llvm-commits mailing list