From: Hal Finkel Date: Thu, 14 Mar 2013 18:38:31 +0000 (+0000) Subject: Add a comment about overlapping PPC frame offsets X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad92b4650575fcf8d305117e1e54f1d7e6ffb134;p=platform%2Fupstream%2Fllvm.git Add a comment about overlapping PPC frame offsets I don't think that it is otherwise clear how the overlapping offsets are processed into distinct spill slots. Comment that this is done in processFunctionBeforeFrameFinalized. llvm-svn: 177094 --- diff --git a/llvm/lib/Target/PowerPC/PPCFrameLowering.h b/llvm/lib/Target/PowerPC/PPCFrameLowering.h index d09e47f..a07c170 100644 --- a/llvm/lib/Target/PowerPC/PPCFrameLowering.h +++ b/llvm/lib/Target/PowerPC/PPCFrameLowering.h @@ -144,6 +144,9 @@ public: return 0; } + // Note that the offsets here overlap, but this is fixed up in + // processFunctionBeforeFrameFinalized. + static const SpillSlot Offsets[] = { // Floating-point register save area offsets. {PPC::F31, -8},