[llvm] [RegAlloc] Account for use availability when applying rematerializable weight discount (PR #159180)
    Matt Arsenault via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Sep 22 04:46:23 PDT 2025
    
    
  
================
@@ -81,6 +81,14 @@ class VirtRegMap;
     static bool isRematerializable(const LiveInterval &LI,
                                    const LiveIntervals &LIS,
                                    const VirtRegMap &VRM,
+                                   const MachineRegisterInfo &MRI,
+                                   const TargetInstrInfo &TII);
+
+    /// \returns true if all registers used by \p OrigMI at \p OrigIdx are also
----------------
arsenm wrote:
There is no OrigIdx parameter 
https://github.com/llvm/llvm-project/pull/159180
    
    
More information about the llvm-commits
mailing list