Skip to content
  1. Apr 15, 2013
    • Nadav Rotem's avatar
    • Hal Finkel's avatar
      Mark all PPC comparison instructions as not having side effects · 95e6ea69
      Hal Finkel authored
      Now that the CR spilling issues have been resolved, we can remove the
      unmodeled-side-effect attributes from the comparison instructions (and also
      mark them as isCompare). By allowing these, by default, to have unmodeled side
      effects, we were hiding problems with CR spilling; but everything seems much
      happier now.
      
      llvm-svn: 179502
      95e6ea69
    • Hal Finkel's avatar
      Fix PPC64 CR spill location for callee-saved registers · 6736988a
      Hal Finkel authored
      This fixes an ABI bug for non-Darwin PPC64. For the callee-saved condition
      registers, the spill location is specified relative to the stack pointer (SP +
      8). However, this is not relative to the SP after the new stack frame is
      established, but instead relative to the caller's stack pointer (it is stored
      into the linkage area of the parent's stack frame).
      
      So, like with the link register, we don't directly spill the CRs with other
      callee-saved registers, but just mark them to be spilled during prologue
      generation.
      
      In practice, this reverts r179457 for PPC64 (but leaves it in place for PPC32).
      
      llvm-svn: 179500
      6736988a
  2. Apr 14, 2013
  3. Apr 13, 2013
  4. Apr 12, 2013
Loading