[PATCH] D65653: [AArch64] Change location of frame-record within callee-save area.

Kristof Beyls via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 8 00:16:04 PDT 2019


kristof.beyls added inline comments.


================
Comment at: lib/Target/AArch64/AArch64FrameLowering.cpp:91-95
+// area to allow SVE stack objects (allocated directly below the callee-saves,
+// if available) to be accessed directly from the framepointer.
+// The SVE spill/fill instructions have runtime-VL-scaled addressing modes such
+// as:
+//    ldr z8, [fp, #-7 mul vl]
----------------
Mostly looks good to me.
I wonder if it'd be useful to explicitly state that the size of "SVE stack objects" aren't known at compile time, and hence the offset that needs to be calculated needs to be multiplied by an unknown-at-compile time factor?
This is of course all very obvious when working already for some time on SVE; but some readers of this comment may be unfamiliar with SVE?


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

https://reviews.llvm.org/D65653





More information about the llvm-commits mailing list