1. May 15, 2013
    • Bill Wendling's avatar
      Merging r181450: · ee13530c
      Bill Wendling authored
      ------------------------------------------------------------------------
      r181450 | uweigand | 2013-05-08 10:50:07 -0700 (Wed, 08 May 2013) | 16 lines
      
      
      [PowerPC] Fix regression in generating @ha/@l relocs
      
      The patch I committed as revision 167864 introduced a regression that
      causes LLVM to no longer generate appropriate relocs for @ha/@l symbol
      references (but fail an assertion instead).
      
      This is fixed here by re-enabling support for the VK_PPC_GAS_HA16/
      VK_PPC_GAS_LO16 variant kinds (and their Darwin variants) in
      PPCELFObjectWriter.cpp.
      
      Tested by running projects/test-suite in -m32 mode with the integrated
      assembler forced on.  A standalone test case will be committed shortly
      as well.
      
      
      ------------------------------------------------------------------------
      
      llvm-svn: 181816
      ee13530c
    • Bill Wendling's avatar
      Merging r181800: · ae2442db
      Bill Wendling authored
      ------------------------------------------------------------------------
      r181800 | wschmidt | 2013-05-14 09:08:32 -0700 (Tue, 14 May 2013) | 15 lines
      
      PPC32: Fix stack collision between FP and CR save areas.
      
      The changes to CR spill handling missed a case for 32-bit PowerPC.
      The code in PPCFrameLowering::processFunctionBeforeFrameFinalized()
      checks whether CR spill has occurred using a flag in the function
      info.  This flag is only set by storeRegToStackSlot and
      loadRegFromStackSlot.  spillCalleeSavedRegisters does not call
      storeRegToStackSlot, but instead produces MI directly.  Thus we don't
      see the CR is spilled when assigning frame offsets, and the CR spill
      ends up colliding with some other location (generally the FP slot).
      
      This patch sets the flag in spillCalleeSavedRegisters for PPC32 so
      that the CR spill is properly detected and gets its own slot in the
      stack frame.
      
      ------------------------------------------------------------------------
      
      llvm-svn: 181815
      ae2442db
    • Bill Wendling's avatar
      Merging r181586: · fcb0d39c
      Bill Wendling authored
      ------------------------------------------------------------------------
      r181586 | d0k | 2013-05-10 02:16:52 -0700 (Fri, 10 May 2013) | 3 lines
      
      InstCombine: Verify the type before transforming uitofp into select.
      
      PR15952.
      ------------------------------------------------------------------------
      
      llvm-svn: 181813
      fcb0d39c
  2. May 11, 2013
    • Andrew Kaylor's avatar
      Fixing MCJIT unit test on Windows. · d5e12124
      Andrew Kaylor authored
      llvm-svn: 181625
      d5e12124
    • Bill Wendling's avatar
      Merging r181397: · 1b6c7672
      Bill Wendling authored
      ------------------------------------------------------------------------
      r181397 | nicholas | 2013-05-08 02:00:10 -0700 (Wed, 08 May 2013) | 3 lines
      
      Fix a bug in codegenprep where it was losing track of values OptimizeMemoryInst
      by switching to a ValueMap. Patch by Andrea DiBiagio!
      
      ------------------------------------------------------------------------
      
      llvm-svn: 181619
      1b6c7672
  3. May 09, 2013
    • Bill Wendling's avatar
      Merging r181423: · b459a515
      Bill Wendling authored
      ------------------------------------------------------------------------
      r181423 | hfinkel | 2013-05-08 05:16:14 -0700 (Wed, 08 May 2013) | 5 lines
      
      PPCInstrInfo::optimizeCompareInstr should not optimize FP compares
      
      The floating-point record forms on PPC don't set the condition register bits
      based on a comparison with zero (like the integer record forms do), but rather
      based on the exception status bits.
      ------------------------------------------------------------------------
      
      llvm-svn: 181507
      b459a515
    • Bill Wendling's avatar
      Merging r181286: · 3afa7cfe
      Bill Wendling authored
      ------------------------------------------------------------------------
      
      llvm-svn: 181456
      3afa7cfe
    • Bill Wendling's avatar
      Merging r181286: · 8d11bc03
      Bill Wendling authored
      ------------------------------------------------------------------------
      r181286 | arnolds | 2013-05-06 21:37:05 -0700 (Mon, 06 May 2013) | 7 lines
      
      LoopVectorize: getConsecutiveVector must respect signed arithmetic
      
      We were passing an i32 to ConstantInt::get where an i64 was needed and we must
      also pass the sign if we pass negatives numbers. The start index passed to
      getConsecutiveVector must also be signed.
      
      Should fix PR15882.
      ------------------------------------------------------------------------
      
      llvm-svn: 181455
      8d11bc03
  4. May 08, 2013