1. May 07, 2015
  2. May 06, 2015
    • Pavel Labath's avatar
      Simplify FuncUnwinders::GetEHFrameAugmentedUnwindPlan · ad5ee040
      Pavel Labath authored
      Summary:
      GetEHFrameAugmentedUnwindPlan duplicated the work of GetEHFrameUnwindPlan in getting the original
      plan from DWARF CFI. This changes the function to call GetEHFrameUnwindPlan instead of doing all
      the work itself. A copy constructor is added to UnwindPlan to enable plan copying.
      
      Test Plan: No regressions on linux test suite.
      
      Reviewers: jasonmolenda, clayborg
      
      Subscribers: lldb-commits
      
      Differential Revision: http://reviews.llvm.org/D9369
      
      llvm-svn: 236607
      ad5ee040
    • Bill Schmidt's avatar
      [PPC64LE] Adjust vector splats during VSX swap optimization · 5fe2e25f
      Bill Schmidt authored
      The initial code drop for VSX swap optimization permitted the
      optimization only when all operations in a web of related computation
      are lane-insensitive.  For some lane-sensitive operations, we can
      still permit the optimization provided that we make adjustments to
      those operations.  This patch adds special handling for vector splats
      so that their presence doesn't kill the optimization.
      
      Vector splats are lane-sensitive since they identify by number a
      vector element to be used as the source of a splat.  When swap
      optimizations take place, the desired vector element will move to the
      opposite doubleword of the quadword vector.  We thus replace the index
      I by (I + N/2) % N, where N is the number of elements in the vector.
      
      A new test case is added to test that swap optimization succeeds when
      vector splats are present, and that the proper input element is used
      as the source of the splat.
      
      An ancillary change removes SH_BUILDVEC as one of the kinds of special
      handling that may be required by VSX swap optimization.  From
      experience with GCC, I had expected to need some modifications for
      vector build operations, but I did not find that to be the case.
      
      llvm-svn: 236606
      5fe2e25f