diff options
author | Hal Finkel <hfinkel@anl.gov> | 2013-03-14 18:38:31 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2013-03-14 18:38:31 +0000 |
commit | 6bc99603c0f4fdd15d734851a4343b768f4725a4 (patch) | |
tree | 301f5cae0e8f8e53b46f9c70aa745ba670171a1e /lib/Target/PowerPC | |
parent | f283512d72757aac5bedcb270f9199194e6a12c0 (diff) | |
download | external_llvm-6bc99603c0f4fdd15d734851a4343b768f4725a4.zip external_llvm-6bc99603c0f4fdd15d734851a4343b768f4725a4.tar.gz external_llvm-6bc99603c0f4fdd15d734851a4343b768f4725a4.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177094 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r-- | lib/Target/PowerPC/PPCFrameLowering.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCFrameLowering.h b/lib/Target/PowerPC/PPCFrameLowering.h index d09e47f..a07c170 100644 --- a/lib/Target/PowerPC/PPCFrameLowering.h +++ b/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}, |