[llvm] r177094 - Add a comment about overlapping PPC frame offsets

Hal Finkel hfinkel at anl.gov
Thu Mar 14 11:38:31 PDT 2013


Author: hfinkel
Date: Thu Mar 14 13:38:31 2013
New Revision: 177094

URL: http://llvm.org/viewvc/llvm-project?rev=177094&view=rev
Log:
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.

Modified:
    llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.h

Modified: llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.h?rev=177094&r1=177093&r2=177094&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.h (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.h Thu Mar 14 13:38:31 2013
@@ -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},





More information about the llvm-commits mailing list