[llvm] GlobalISel: adapt MachineSSAUpdater for use in GlobalISel path (PR #78431)

Petar Avramovic via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 18 06:47:17 PST 2024


================
@@ -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:

Proposed changes are in https://github.com/llvm/llvm-project/pull/73337, had to update amdgpu to do the same

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


More information about the llvm-commits mailing list