Skip to content
  1. Aug 15, 2013
  2. Aug 13, 2013
  3. Aug 12, 2013
    • Tim Northover's avatar
      Fix FileCheck --check-prefix lines. · 19ae1175
      Tim Northover authored
      Various tests had sprung up over the years which had --check-prefix=ABC on the
      RUN line, but "CHECK-ABC:" later on. This happened to work before, but was
      strictly incorrect. FileCheck is getting stricter soon though.
      
      Patch by Ron Ofir.
      
      llvm-svn: 188174
      19ae1175
  4. Aug 09, 2013
  5. Aug 08, 2013
  6. Aug 06, 2013
  7. Aug 05, 2013
  8. Aug 04, 2013
  9. Aug 01, 2013
    • David Blaikie's avatar
      DebugInfo: Don't prefer declarations over definitions in -flimit-debug-info in C · 79af384d
      David Blaikie authored
      Without an ODR, the -flimit-debug-info debug info size optimization of
      emitting declarations for fully defined types when only a declaration is
      needed by the TU, is incorrect. Emit the full definition whenever it's
      available in non-C++.
      
      llvm-svn: 187611
      79af384d
    • David Blaikie's avatar
      DebugInfo: Emit template arguments for limited types used for context. · 4a5b8958
      David Blaikie authored
      We emit definitions with no members when a nested type is
      referenced/required (GCC does the same, to be fair) but failed to attach
      the template arguments in such a case.
      
      llvm-svn: 187608
      4a5b8958
    • Tim Northover's avatar
      AArch64: initial NEON support · 2fe823a6
      Tim Northover authored
      Patch by Ana Pazos
      
      - Completed implementation of instruction formats:
      AdvSIMD three same
      AdvSIMD modified immediate
      AdvSIMD scalar pairwise
      
      - Completed implementation of instruction classes
      (some of the instructions in these classes
      belong to yet unfinished instruction formats):
      Vector Arithmetic
      Vector Immediate
      Vector Pairwise Arithmetic
      
      - Initial implementation of instruction formats:
      AdvSIMD scalar two-reg misc
      AdvSIMD scalar three same
      
      - Intial implementation of instruction class:
      Scalar Arithmetic
      
      - Initial clang changes to support arm v8 intrinsics.
      Note: no clang changes for scalar intrinsics function name mangling yet.
      
      - Comprehensive test cases for added instructions
      To verify auto codegen, encoding, decoding, diagnosis, intrinsics.
      
      llvm-svn: 187568
      2fe823a6
    • Arnaud A. de Grandmaison's avatar
  10. Jul 30, 2013
  11. Jul 29, 2013
  12. Jul 26, 2013
  13. Jul 25, 2013
  14. Jul 24, 2013
  15. Jul 22, 2013
    • Reid Kleckner's avatar
      [ms-cxxabi] Emit linkonce complete dtors in TUs that need them · e7de47ef
      Reid Kleckner authored
      Based on Peter Collingbourne's destructor patches.
      
      Prior to this change, clang was considering ?1 to be the complete
      destructor and the base destructor, which was wrong.  This lead to
      crashes when clang tried to emit two LLVM functions with the same name.
      
      In this ABI, TUs with non-inline dtors might not emit a complete
      destructor.  They are emitted as inline thunks in TUs that need them,
      and they always delegate to the base dtors of the complete class and its
      virtual bases.  This change uses the DeferredDecls machinery to emit
      complete dtors as needed.
      
      Currently in clang try body destructors can catch exceptions thrown by
      virtual base destructors.  In the Microsoft C++ ABI, clang may not have
      the destructor definition, in which case clang won't wrap the virtual
      virtual base destructor calls in a try-catch.  Diagnosing this in user
      code is TODO.
      
      Finally, for classes that don't use virtual inheritance, MSVC always
      calls the base destructor (?1) directly.  This is a useful code size
      optimization that avoids emitting lots of extra thunks or aliases.
      Implementing it also means our existing tests continue to pass, and is
      consistent with MSVC's output.
      
      We can do the same for Itanium by tweaking GetAddrOfCXXDestructor, but
      it will require further testing.
      
      Reviewers: rjmccall
      
      CC: cfe-commits
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D1066
      
      llvm-svn: 186828
      e7de47ef
    • Richard Smith's avatar
      Test updates missed from r186799. · 4e155170
      Richard Smith authored
      llvm-svn: 186800
      4e155170
    • Richard Smith's avatar
      Tighten up the set of operator new/operator delete calls we're permitted to · 8d0dc31d
      Richard Smith authored
      optimize, to follow the permissions granted in N3664. Under those rules, only
      calls generated by new-expressions and delete-expressions are permitted to be
      optimized, and direct calls to ::operator new and ::operator delete must be
      treated as normal calls.
      
      llvm-svn: 186799
      8d0dc31d
  16. Jul 17, 2013
  17. Jul 14, 2013
  18. Jul 13, 2013
  19. Jul 11, 2013
    • Richard Smith's avatar
      Add a __builtin_addressof that performs the same functionality as the built-in · 6cbd65d8
      Richard Smith authored
      & operator (ignoring any overloaded operator& for the type). The purpose of
      this builtin is for use in std::addressof, to allow it to be made constexpr;
      the existing implementation technique (reinterpret_cast to some reference type,
      take address, reinterpert_cast back) does not permit this because
      reinterpret_cast between reference types is not permitted in a constant
      expression in C++11 onwards.
      
      llvm-svn: 186053
      6cbd65d8
  20. Jul 10, 2013
    • Eli Friedman's avatar
      More local mangling fixes. · 3b7d46c3
      Eli Friedman authored
      Compute mangling numbers for externally visible local variables and tags.
      Change the mangler to consistently use discriminators where necessary.
      Tweak the scheme we use to number decls which are not externally visible
      to avoid unnecessary discriminators in common cases now that we request
      them more consistently.
      
      Fixes <rdar://problem/14204721>.
      
      llvm-svn: 185986
      3b7d46c3
  21. Jul 05, 2013
    • Eli Friedman's avatar
      Fix regression from r185450. · 86af13f0
      Eli Friedman authored
      As it turns out, the NoFunction bit for local class mangling needed to be
      propagated into more places. r185450 turned what used to be an incorrect
      mangling into an assertion.
      
      llvm-svn: 185713
      86af13f0
  22. Jul 04, 2013
Loading