[llvm] [NFC] Refactor looping over recomputeLiveIns into function (PR #88040)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 9 09:16:32 PDT 2024


================
@@ -207,6 +209,18 @@ static inline bool recomputeLiveIns(MachineBasicBlock &MBB) {
   return oldLiveIns != newLiveIns;
 }
 
+/// Convenience function for recomputing live-in's for a set of MBBs until the
+/// computation converges.
+static inline void
----------------
yozhu wrote:

This new function doesn't need to be defined as `static` in the header file.

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


More information about the llvm-commits mailing list