[PATCH] D34337: [PPC] Fix two bugs in frame lowering.

Hiroshi Inoue via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 6 12:30:06 PDT 2017


inouehrs added inline comments.


================
Comment at: lib/Target/PowerPC/PPCFrameLowering.cpp:457
+
+  bool FitsInRedZone = FitsInRedZonePPC32 || FitsInRedZonePPC64;
+
----------------
How about adding a function `Subtarget.getAvailableRedZoneSize()`, which returns  288 only when icPPC64 && isSVR4ABI and 224 otherwise?


https://reviews.llvm.org/D34337





More information about the llvm-commits mailing list