Skip to content
  1. Oct 17, 2017
    • 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