Skip to content
  1. Sep 16, 2012
  2. Sep 15, 2012
  3. Sep 14, 2012
  4. Sep 13, 2012
  5. Sep 12, 2012
    • Michael Liao's avatar
      Fix PR11985 · abb87d48
      Michael Liao authored
          
      - BlockAddress has no support of BA + offset form and there is no way to
        propagate that offset into machine operand;
      - Add BA + offset support and a new interface 'getTargetBlockAddress' to
        simplify target block address forming;
      - All targets are modified to use new interface and X86 backend is enhanced to
        support BA + offset addressing.
      
      llvm-svn: 163743
      abb87d48
    • Roman Divacky's avatar
      This patch corrects logic in PPCFrameLowering for save and restore of ... · c9e23d93
      Roman Divacky authored
      This patch corrects logic in PPCFrameLowering for save and restore of                                              
      nonvolatile condition register fields across calls under the SVR4 ABIs.                                            
                                                                                                                         
       * With the 64-bit ABI, the save location is at a fixed offset of 8 from                                           
      the stack pointer.  The frame pointer cannot be used to access this                                                
      portion of the stack frame since the distance from the frame pointer may                                           
      change with alloca calls.                                                                                          
                                                                                                                         
       * With the 32-bit ABI, the save location is just below the general
      register save area, and is accessed via the frame pointer like the rest
      of the save areas.  This is an optional slot, so it must only be created                                           
      if any of CR2, CR3, and CR4 were modified.                                                                      
                                                                                                                         
       * For both ABIs, save/restore logic is generated only if one of the     
      nonvolatile CR fields were modified.                                   
      
      I also took this opportunity to clean up an extra FIXME in
      PPCFrameLowering.h.  Save area offsets for 32-bit GPRs are meaningless
      for the 64-bit ABI, so I removed them for correctness and efficiency.
      
      
      Fixes PR13708 and partially also PR13623. It lets us enable exception handling
      on PPC64.
      
      Patch by William J. Schmidt!
      
      llvm-svn: 163713
      c9e23d93
    • Kristof Beyls's avatar
      Fix constant folding through bitcasts by no longer relying on undefined... · e6b876f4
      Kristof Beyls authored
      Fix constant folding through bitcasts by no longer relying on undefined behaviour (converting NaN values between float and double).
      
      SelectionDAG::getConstantFP(double Val, EVT VT, bool isTarget);
      should not be used when Val is not a simple constant (as the comment in
      SelectionDAG.h indicates). This patch avoids using this function
      when folding an unknown constant through a bitcast, where it cannot be
      guaranteed that Val will be a simple constant.
      
      llvm-svn: 163703
      e6b876f4
    • Nadav Rotem's avatar
      Stack coloring: remove lifetime intervals which contain escaped allocas. · 8ff00989
      Nadav Rotem authored
      The input program may contain intructions which are not inside lifetime
      markers. This can happen due to a bug in the compiler or due to a bug in
      user code (for example, returning a reference to a local variable).
      This commit adds checks that all of the instructions in the function and
      invalidates lifetime ranges which do not contain all of the instructions.
      
      llvm-svn: 163678
      8ff00989
  6. Sep 11, 2012
  7. Sep 10, 2012
  8. Sep 08, 2012
  9. Sep 06, 2012
Loading