Skip to content
  1. Oct 17, 2017
    • George Burgess IV's avatar
      Make __builtin_types_compatible_p more like GCC's · 31ac1fae
      George Burgess IV authored
      GCC ignore qualifiers on array types. Since we seem to have this
      function primarily for GCC compatibility, we should try to match that
      behavior.
      
      This also adds a few more test-cases __builtin_types_compatible_p,
      which were inspired by GCC's documentation on the builtin.
      
      llvm-svn: 315951
      31ac1fae
    • Erich Keane's avatar
      Replace usage of std::stringstream with raw_string_ostream · df9e8aef
      Erich Keane authored
      Typically we don't use the stringstream, so instead use
      raw_string_stream.  Additionally, the dependent function
      changed to use raw_ostream.
      
      llvm-svn: 315950
      df9e8aef
    • Peter Collingbourne's avatar
      COFF: Give manifest resource file a name. · ccd43758
      Peter Collingbourne authored
      Without this, /linkrepro would create an invalid tar file.
      
      No tests because this requires Windows and the linkrepro tests
      require not-Windows.
      
      Differential Revision: https://reviews.llvm.org/D38973
      
      llvm-svn: 315948
      ccd43758
    • Quentin Colombet's avatar
      Re-apply [AArch64][RegisterBankInfo] Use the statically computed mappings for COPY · 0bd28255
      Quentin Colombet authored
      This reverts commit r315823, thus re-applying r315781.
      
      Also make sure we don't use G_BITCAST mapping for non-generic registers.
      Non-generic registers don't have a type but do have a reg bank.
      Something the COPY mapping now how to deal with but the G_BITCAST
      mapping don't.
      
      -- Original Commit Message --
      We use to resort on the generic implementation to get the mappings for
      COPYs. The generic implementation resorts on table lookup and
      dynamically allocated objects to get the valid mappings.
      
      Given we already know how to map G_BITCAST and have the static mappings
      for them, use that code path for COPY as well. This is much more
      efficient.
      
      Improve the compile time of RegBankSelect by up to 20%.
      
      Note: When we eventually generate all the mappings via TableGen, we
      wouldn't have to do that dance to shave compile time. The intent of this
      change was to make sure that moving to static structure really pays off.
      
      NFC.
      
      llvm-svn: 315947
      0bd28255
    • Quentin Colombet's avatar
      [AArch64][RegisterBankInfo] Add mapping support for G_BITCAST of s128 · 9f20af61
      Quentin Colombet authored
      Anything bigger than 64-bit just map to FPR.
      
      llvm-svn: 315946
      9f20af61
    • Quentin Colombet's avatar
      [AArch64][LegalizerInfo] Mark s128 G_BITCAST legal · 7c114d3d
      Quentin Colombet authored
      We used to mark all G_BITCAST of 128-bit legal but only for vector
      types. Scalars of this size are just fine as well.
      
      llvm-svn: 315945
      7c114d3d
    • Matthew Simpson's avatar
      Add !callees metadata · 36bbc8ce
      Matthew Simpson authored
      This patch adds a new kind of metadata that indicates the possible callees of
      indirect calls.
      
      Differential Revision: https://reviews.llvm.org/D37354
      
      llvm-svn: 315944
      36bbc8ce
    • Reid Kleckner's avatar
      [MC] Lex CRLF as one token · b0c9e0d6
      Reid Kleckner authored
      This will prevent doubling of line endings when parsing assembly and
      emitting assembly.
      
      Otherwise we'd parse the directive, consume the end of statement, hit
      the next end of statement, and emit a fresh newline.
      
      llvm-svn: 315943
      b0c9e0d6
  2. Oct 16, 2017
Loading