[llvm] [CodeGen][MachineLICM] Use RegUnits in HoistRegionPostRA (PR #94608)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 11 02:28:32 PDT 2024


================
@@ -423,10 +423,47 @@ static bool InstructionStoresToFI(const MachineInstr *MI, int FI) {
   return false;
 }
 
+static void applyBitsNotInRegMaskToRegUnitsMask(const TargetRegisterInfo *TRI,
----------------
arsenm wrote:

const ref.

This whole thing should probably be a helper somewhere else, but it's OK to move it in a later commit. 

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


More information about the llvm-commits mailing list