1. Nov 02, 2017
    • Jonas Devlieghere's avatar
      [dsymutil][NFC} Rename thread related command line options · 369a7ecc
      Jonas Devlieghere authored
      This makes the command line options consistent with llvm-cov and
      llvm-profdata, which both use `-num-threads` and `-j`.
      
      This also addresses the conflict reported after landing D39355.
      
      Differential revision: https://reviews.llvm.org/D39496
      
      llvm-svn: 317104
      369a7ecc
    • Kostya Kortchinsky's avatar
      [scudo] Fix standlone build -lrt requirement · a2cdb2d5
      Kostya Kortchinsky authored
      Summary:
      The split in D39461 introduced separate C++ flags, but `cxx_flags` needs `-lrt` as well for the standalone build.
      
      
      Reviewers: alekseyshl
      
      Reviewed By: alekseyshl
      
      Subscribers: llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D39497
      
      llvm-svn: 317103
      a2cdb2d5
    • Craig Topper's avatar
      [X86] Add 64-bit int to float/double conversion with AVX to X86FastISel::X86SelectSIToFP · 5ae677e1
      Craig Topper authored
      Summary:
      [X86] Teach fast isel to handle i64 sitofp with AVX.
      
      For some reason we only handled i32 sitofp with AVX. But with SSE only we support i64 so we should do the same with AVX.
      
      Also add i686 command lines for the 32-bit tests. 64-bit tests are in a separate file to avoid a fast-isel abort failure in 32-bit mode.
      
      Reviewers: RKSimon, zvi
      
      Reviewed By: RKSimon
      
      Subscribers: llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D39450
      
      llvm-svn: 317102
      5ae677e1
    • Andrew V. Tischenko's avatar
      3d971e39
    • Petar Jovanovic's avatar
      Correct dwarf unwind information in function epilogue for X86 · f2faee92
      Petar Jovanovic authored
      This patch aims to provide correct dwarf unwind information in function
      epilogue for X86.
      
      It consists of two parts. The first part inserts CFI instructions that set
      appropriate cfa offset and cfa register in emitEpilogue() in
      X86FrameLowering. This part is X86 specific.
      
      The second part is platform independent and ensures that:
      
      - CFI instructions do not affect code generation
      - Unwind information remains correct when a function is modified by
        different passes. This is done in a late pass by analyzing information
        about cfa offset and cfa register in BBs and inserting additional CFI
        directives where necessary.
      
      Changed CFI instructions so that they:
      
      - are duplicable
      - are not counted as instructions when tail duplicating or tail merging
      - can be compared as equal
      
      Added CFIInstrInserter pass:
      
      - analyzes each basic block to determine cfa offset and register valid at
        its entry and exit
      - verifies that outgoing cfa offset and register of predecessor blocks match
        incoming values of their successors
      - inserts additional CFI directives at basic block beginning to correct the
        rule for calculating CFA
      
      Having CFI instructions in function epilogue can cause incorrect CFA
      calculation rule for some basic blocks. This can happen if, due to basic
      block reordering, or the existence of multiple epilogue blocks, some of the
      blocks have wrong cfa offset and register values set by the epilogue block
      above them.
      
      CFIInstrInserter is currently run only on X86, but can be used by any target
      that implements support for adding CFI instructions in epilogue.
      
      
      Patch by Violeta Vukobrat.
      
      Differential Revision: https://reviews.llvm.org/D35844
      
      llvm-svn: 317100
      f2faee92
  2. Nov 01, 2017