Add a comment about overlapping PPC frame offsets
authorHal Finkel <hfinkel@anl.gov>
Thu, 14 Mar 2013 18:38:31 +0000 (18:38 +0000)
committerHal Finkel <hfinkel@anl.gov>
Thu, 14 Mar 2013 18:38:31 +0000 (18:38 +0000)
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

lib/Target/PowerPC/PPCFrameLowering.h

index d09e47fafd1e9d6b979acdd62699b31a713bfb12..a07c17045330e1f9a5ffdb298399681f293f32fa 100644 (file)
@@ -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},