1. Nov 16, 2016
  2. Nov 15, 2016
    • Zaara Syeda's avatar
      test commmit · 56fa12c5
      Zaara Syeda authored
      llvm-svn: 286977
      56fa12c5
    • Pablo Barrio's avatar
      Revert "[JumpThreading] Unfold selects that depend on the same condition" · 4f80c93a
      Pablo Barrio authored
      This reverts commit ac54d0066c478a09c7cd28d15d0f9ff8af984afc.
      
      llvm-svn: 286976
      4f80c93a
    • Pablo Barrio's avatar
      Revert "[JumpThreading] Prevent non-deterministic use lists" · 5f782bb0
      Pablo Barrio authored
      This reverts commit f2c2f5354070469dac253373c66527ca971ddc66.
      
      llvm-svn: 286975
      5f782bb0
    • Diana Picus's avatar
      [ARM] Make sure GlobalISel is only initialized once. NFCI · 90f0a849
      Diana Picus authored
      Move some code inside the proper 'if' block to make sure it is only run once,
      when the subtarget is first created. Things can still break if we use different
      ARM target machines or if we have functions with different 'target-cpu' or
      'target-features', we should fix that too in the future.
      
      llvm-svn: 286974
      90f0a849
    • Cameron Desrochers's avatar
      [clang-format] Fixed line merging of more than two lines · 1991e5d6
      Cameron Desrochers authored
      Differential Revision: https://reviews.llvm.org/D19063
      
      llvm-svn: 286973
      1991e5d6
    • Tony Jiang's avatar
      [PowerPC] Implement BE VSX load/store builtins - clang portion. · 6a49aad1
      Tony Jiang authored
      This patch implements all the overloads for vec_xl_be and vec_xst_be. On BE,
      they behaves exactly the same with vec_xl and vec_xst, therefore they are
      simply implemented by defining a matching macro. On LE, they are implemented
      by defining new builtins and intrinsics. For int/float/long long/double, it
      is just a load (lxvw4x/lxvd2x) or store(stxvw4x/stxvd2x). For char/char/short,
      we also need some extra shuffling before or after call the builtins to get the
      desired BE order. For int128, simply call vec_xl or vec_xst.
      
      llvm-svn: 286971
      6a49aad1
    • Robert Lougher's avatar
      [LoopVectorizer] When estimating reg usage, unused insts may "end" another use · b0905209
      Robert Lougher authored
      The register usage algorithm incorrectly treats instructions whose value is
      not used within the loop (e.g. those that do not produce a value).
      
      The algorithm first calculates the usages within the loop.  It iterates over
      the instructions in order, and records at which instruction index each use
      ends (in fact, they're actually recorded against the next index, as this is
      when we want to delete them from the open intervals).
      
      The algorithm then iterates over the instructions again, adding each
      instruction in turn to a list of open intervals.  Instructions are then
      removed from the list of open intervals when they occur in the list of uses
      ended at the current index.
      
      The problem is, instructions which are not used in the loop are skipped.
      However, although they aren't used, the last use of a value may have been
      recorded against that instruction index.  In this case, the use is not deleted
      from the open intervals, which may then bump up the estimated register usage.
      
      This patch fixes the issue by simply moving the "is used" check after the loop
      which erases the uses at the current index.
      
      Differential Revision: https://reviews.llvm.org/D26554
      
      llvm-svn: 286969
      b0905209