[PATCH] D114879: [AArch64][CodeGen] Emit alignment "Max Skip" operand for AArch64 loops

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 4 00:57:20 PST 2022


dmgreen accepted this revision.
dmgreen added a comment.
This revision is now accepted and ready to land.

I would suggest updating the names a little. Otherwise LGTM.



================
Comment at: llvm/lib/Target/AArch64/AArch64Subtarget.h:266
   unsigned PrefLoopLogAlignment = 0;
+  unsigned MaxLoopAlignment = 0;
   unsigned MaxJumpTableSize = 0;
----------------
MaxLoopAlignment -> MaxBytesForLoopAlignment


================
Comment at: llvm/lib/Target/AArch64/AArch64Subtarget.h:454
 
+  unsigned getMaxBytesForAlignment() const { return MaxLoopAlignment; }
+
----------------
getMaxBytesForAlignment -> getMaxBytesForLoopAlignment


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114879/new/

https://reviews.llvm.org/D114879



More information about the llvm-commits mailing list