[PATCH] D140438: [IR/MachineOutliner] Add a "nooutline" function attr and respect it

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 20 15:30:51 PST 2022


arsenm added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineOutliner.cpp:882-885
     // If there's nothing in F, then there's no reason to try and outline from
     // it.
     if (F.empty())
       continue;
----------------
Normal check would be skip declaration, F.empty for a defined function is invalid


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140438/new/

https://reviews.llvm.org/D140438



More information about the llvm-commits mailing list