1. Feb 07, 2016
  2. Feb 06, 2016
    • Simon Pilgrim's avatar
      line endings fix · 63b1ecab
      Simon Pilgrim authored
      llvm-svn: 259992
      63b1ecab
    • Simon Pilgrim's avatar
      [X86][SSE] Don't replace an existing 32-bit load with its duplicate · 9e369f2a
      Simon Pilgrim authored
      If we are already loading a single 32-bit float/integer then just reuse it.
      
      Fix for regression in D16729
      
      llvm-svn: 259991
      9e369f2a
    • Simon Pilgrim's avatar
      Comment fix · 11e4d114
      Simon Pilgrim authored
      llvm-svn: 259990
      11e4d114
    • Ashutosh Nema's avatar
      Corrected tests for Loop Versioning LICM, by adding “REQUIRES: asserts”. · 3bc6d46e
      Ashutosh Nema authored
      Earlier they were failing under no-assert build.
      
      llvm-svn: 259989
      3bc6d46e
    • Ashutosh Nema's avatar
      Fixed short underline error in LangRef.rst for recently added · 5f0e4726
      Ashutosh Nema authored
      metadata 'llvm.loop.licm_versioning.disable' description.
      
      llvm-svn: 259988
      5f0e4726
    • Michael Kruse's avatar
      Follow uses to create value MemoryAccesses · 2e02d560
      Michael Kruse authored
      The previously implemented approach is to follow value definitions and
      create write accesses ("push defs") while searching for uses. This
      requires the same relatively validity- and requirement conditions to be
      replicated at multiple locations (PHI instructions, other instructions,
      uses by PHIs).
      
      We replace this by iterating over the uses in a SCoP ("pull in
      requirements"), and add writes only when at least one read has been
      added. It turns out to be simpler code because each use is only iterated
      over once and writes are added for the first access that reads it. We
      need another iteration to identify escaping values (uses not in the
      SCoP), which also makes the difference between such accesses more
      obvious. As a side-effect, the order of scalar MemoryAccess can change.
      
      Differential Revision: http://reviews.llvm.org/D15706
      
      llvm-svn: 259987
      2e02d560
    • Ashutosh Nema's avatar
      New Loop Versioning LICM Pass · df6763ab
      Ashutosh Nema authored
      Summary:
      When alias analysis is uncertain about the aliasing between any two accesses,
      it will return MayAlias. This uncertainty from alias analysis restricts LICM
      from proceeding further. In cases where alias analysis is uncertain we might
      use loop versioning as an alternative.
      
      Loop Versioning will create a version of the loop with aggressive aliasing
      assumptions in addition to the original with conservative (default) aliasing
      assumptions. The version of the loop making aggressive aliasing assumptions
      will have all the memory accesses marked as no-alias. These two versions of
      loop will be preceded by a memory runtime check. This runtime check consists
      of bound checks for all unique memory accessed in loop, and it ensures the
      lack of memory aliasing. The result of the runtime check determines which of
      the loop versions is executed: If the runtime check detects any memory
      aliasing, then the original loop is executed. Otherwise, the version with
      aggressive aliasing assumptions is used.
      
      The pass is off by default and can be enabled with command line option 
      -enable-loop-versioning-licm.
      
      Reviewers: hfinkel, anemet, chatur01, reames
      
      Subscribers: MatzeB, grosser, joker.eph, sanjoy, javed.absar, sbaranga,
                   llvm-commits
      
      Differential Revision: http://reviews.llvm.org/D9151
      
      llvm-svn: 259986
      df6763ab
    • Samuel Antao's avatar
      Re-apply r259977 - [OpenMP] Reorganize code to allow specialized code... · 0572837e
      Samuel Antao authored
      Re-apply r259977 - [OpenMP] Reorganize code to allow specialized code generation for different devices.
      
      This was reverted due to a failure in a buildbot, but it turned out the failure was unrelated.
      
      llvm-svn: 259985
      0572837e