1. Aug 18, 2015
    • Zachary Turner's avatar
      Convert all use of pthreads in tests to c++11 threads. · 8778fea0
      Zachary Turner authored
      This eliminates portability issues among platforms that don't have
      a pthreads implementation.
      
      Differential Revision: http://reviews.llvm.org/D12043
      Reviewed By: Greg Clayton
      
      llvm-svn: 245234
      8778fea0
    • Douglas Katzman's avatar
      [SPARC]: recognize '.' as the start of an assembler expression. · 685a7d1a
      Douglas Katzman authored
      llvm-svn: 245232
      685a7d1a
    • James Molloy's avatar
      [ARM] Fix crash when targetting CPU without NEON · 974838f2
      James Molloy authored
      We emulate a scalar vmin/vmax with NEON instructions as they don't exist in the VFP ISA. So only mark these as legal when NEON is available.
      
      Found here: https://code.google.com/p/chromium/issues/detail?id=521671
      
      llvm-svn: 245231
      974838f2
    • Sean Silva's avatar
      [modules] PR20507: Avoid silent textual inclusion. · 8b7c0398
      Sean Silva authored
      Summary:
      If a module was unavailable (either a missing requirement on the module
      being imported, or a missing file anywhere in the top-level module (and
      not dominated by an unsatisfied `requires`)), we would silently treat
      inclusions as textual. This would cause all manner of crazy and
      confusing errors (and would also silently "work" sometimes, making the
      problem difficult to track down).
      
      I'm really not a fan of the `M->isAvailable(getLangOpts(), getTargetInfo(),
      Requirement, MissingHeader)` function; it seems to do too many things at
      once, but for now I've done things in a sort of awkward way.
      
      The changes to test/Modules/Inputs/declare-use/module.map
      were necessitated because the thing that was meant to be tested there
      (introduced in r197805) was predicated on silently falling back to textual
      inclusion, which we no longer do.
      
      The changes to test/Modules/Inputs/macro-reexport/module.modulemap
      are just an overlooked missing header that seems to have been missing since
      this code was committed (r213922), which is now caught.
      
      Reviewers: rsmith, benlangmuir, djasper
      
      Subscribers: cfe-commits
      
      Differential Revision: http://reviews.llvm.org/D10423
      
      llvm-svn: 245228
      8b7c0398
    • Igor Laevsky's avatar
      [ScalarEvolutionExpander] Reuse findExistingExpansion during expansion cost... · 06044f97
      Igor Laevsky authored
      [ScalarEvolutionExpander] Reuse findExistingExpansion during expansion cost calculation for division
      
      Primary purpose of this change is to reuse existing code inside findExistingExpansion. However it introduces very slight semantic change - findExistingExpansion now looks into exiting blocks instead of a loop latches. Originally heuristic was based on the fact that we want to look at the loop exit conditions. And since all exiting latches will be listed in the ExitingBlocks, heuristic stays roughly the same.
      
      Differential Revision: http://reviews.llvm.org/D12008
      
      llvm-svn: 245227
      06044f97
    • Silviu Baranga's avatar
      [CostModel][AArch64] Increase cost of vector insert element and add missing cast costs · b322aa6f
      Silviu Baranga authored
      Summary:
      Increase the estimated costs for insert/extract element operations on
      AArch64. This is motivated by results from benchmarking interleaved
      accesses.
      
      Add missing costs for zext/sext/trunc instructions and some integer to
      floating point conversions. These costs were previously calculated
      by scalarizing these operation and were affected by the cost increase of
      the insert/extract element operations.
      
      Reviewers: rengolin
      
      Subscribers: mcrosier, aemerson, rengolin, llvm-commits
      
      Differential Revision: http://reviews.llvm.org/D11939
      
      llvm-svn: 245226
      b322aa6f
  2. Aug 17, 2015