[llvm] GlobalISel lane masks merging (PR #73337)
    Petar Avramovic via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Nov 28 05:59:51 PST 2023
    
    
  
================
@@ -40,8 +40,8 @@ class MachineSSAUpdater {
   //typedef DenseMap<MachineBasicBlock*, Register> AvailableValsTy;
   void *AV = nullptr;
 
-  /// VRC - Register class of the current virtual register.
-  const TargetRegisterClass *VRC = nullptr;
+  /// RegAttrs - current virtual register, new registers copy its attributes.
+  Register RegAttrs;
----------------
petar-avramovic wrote:
Do you have suggestion how to implement this part, I wanted to avoid virtual methods
https://github.com/llvm/llvm-project/pull/73337
    
    
More information about the llvm-commits
mailing list