Skip to content
  1. Aug 19, 2013
  2. Aug 18, 2013
  3. Aug 17, 2013
  4. Aug 16, 2013
    • David Blaikie's avatar
      DebugInfo: Allow the addition of other (such as static data) members to a... · d4e106e3
      David Blaikie authored
      DebugInfo: Allow the addition of other (such as static data) members to a record type after construction
      
      Plus a type cleanup & minor fix to enumerate members of declarations.
      
      llvm-svn: 188577
      d4e106e3
    • Bill Schmidt's avatar
      [PowerPC] Preparatory refactoring for making prologue and epilogue · 8893a3d1
      Bill Schmidt authored
      safe on PPC32 SVR4 ABI
      
      [Patch and following text by Mark Minich; committing on his behalf.]
      
      There are FIXME's in PowerPC/PPCFrameLowering.cpp, method
      PPCFrameLowering::emitPrologue() related to "negative offsets of R1"
      on PPC32 SVR4. They're true, but the real issue is that on PPC32 SVR4
      (and any ABI without a Red Zone), no spills may be made until after
      the stackframe is claimed, which also includes the LR spill which is
      at a positive offset. The same problem exists in emitEpilogue(),
      though there's no FIXME for it. I intend to fix this issue, making
      LLVM-compiled code finally safe for use on SVR4/EABI/e500 32-bit
      platforms (including in particular, OS-free embedded systems & kernel
      code, where interrupts may share the same stack as user code).
      
      In preparation for making these changes, to make the diffs for the
      functional changes less cluttered, I am providing the non-functional
      refactorings in two stages:
      
      Stage 1 does some minor fluffy refactorings to pull multiple method
      calls up into a single bool, creating named bools for repeated uses of
      obscure logic, moving some code up earlier because either stage 2 or
      my final version will require it earlier, and rewording/adding some
      comments. My stage 1 changes can be characterized as primarily fluffy
      cleanup, the purpose of which may be unclear until the stage 2 or
      final changes are made.
      
      My stage 2 refactorings combine the separate PPC32 & PPC64 logic,
      which is currently performed by largely duplicate code, into a single
      flow, with the differences handled by a group of constants initialized
      early in the methods.
      
      This submission is for my stage 1 changes. There should be no
      functional changes whatsoever; this is a pure refactoring.
      
      llvm-svn: 188573
      8893a3d1
    • Richard Mitton's avatar
      Fixed RuntimeDyldELF absolute relocations. · ad6d349f
      Richard Mitton authored
      If an ELF relocation is pointed at an absolute address, it will have a symbol ID of zero.
      RuntimeDyldELF::processRelocationRef was not previously handling this case, and was instead trying to handle it as a section-relative fixup.
      
      I think this is the right fix here, but my elf-fu is poor on some of the more exotic platforms, so I'd appreciate it if anyone with greater knowledge could verify this.
      
      llvm-svn: 188572
      ad6d349f
    • Aaron Ballman's avatar
    • Aaron Ballman's avatar
      Removing unused functionality. · d9fd87bd
      Aaron Ballman authored
      llvm-svn: 188565
      d9fd87bd
    • Jim Grosbach's avatar
      InstCombine: Use isAllOnesValue() instead of explicit -1. · d0de8ace
      Jim Grosbach authored
      llvm-svn: 188563
      d0de8ace
    • Michel Danzer's avatar
      R600/SI: Add pattern for xor of i1 · 8522270d
      Michel Danzer authored
      
      
      Fixes two recent piglit regressions with radeonsi.
      
      Reviewed-by: default avatarTom Stellard <thomas.stellard@amd.com>
      llvm-svn: 188559
      8522270d
    • Michel Danzer's avatar
      R600/SI: Fix broken encoding of DS_WRITE_B32 · 20680b1c
      Michel Danzer authored
      
      
      The logic in SIInsertWaits::getHwCounts() only really made sense for SMRD
      instructions, and trying to shoehorn it into handling DS_WRITE_B32 caused
      it to corrupt the encoding of that by clobbering the first operand with
      the second one.
      
      Undo that damage and only apply the SMRD logic to that.
      
      Fixes some derivates related piglit regressions with radeonsi.
      
      Reviewed-by: default avatarTom Stellard <thomas.stellard@amd.com>
      llvm-svn: 188558
      20680b1c
Loading