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 | ad92b4650575fcf8d305117e1e54f1d7e6ffb134 (patch) | |
tree | 72774b84ba2daa7f29beda51303a556a1c7c3477 /llvm/lib/Target/PowerPC/PPCFrameLowering.h | |
parent | d70e6570fd53e13b122389c26de37168929a767c (diff) | |
download | bcm5719-llvm-ad92b4650575fcf8d305117e1e54f1d7e6ffb134.tar.gz bcm5719-llvm-ad92b4650575fcf8d305117e1e54f1d7e6ffb134.zip |
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
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCFrameLowering.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCFrameLowering.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCFrameLowering.h b/llvm/lib/Target/PowerPC/PPCFrameLowering.h index d09e47fafd1..a07c1704533 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}, |