[llvm] [AArch64] Teach areMemAccessesTriviallyDisjoint about scalable widths. (PR #73655)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 08:56:58 PST 2023


================
@@ -1214,8 +1214,7 @@ static MachineBasicBlock::iterator convertCalleeSaveRestoreToSPPrePostIncDec(
       SEH->eraseFromParent();
   }
 
-  TypeSize Scale = TypeSize::getFixed(1);
-  unsigned Width;
+  TypeSize Scale = TypeSize::getFixed(1), Width(0, false);
----------------
david-arm wrote:

I think it would be nice to use consistent notation here and have 

 TypeSize Scale = TypeSize::getFixed(1), Width = TypeSize::getFixed(0);

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


More information about the llvm-commits mailing list