1. Jan 10, 2018
  2. Jan 09, 2018
    • Sanjay Patel's avatar
      [SelectionDAG] lower math intrinsics to finite version of libcalls when possible (PR35672) · 37e28e40
      Sanjay Patel authored
      Ingredients in this patch:
      1. Add HANDLE_LIBCALL defs for finite mathlib functions that correspond to LLVM intrinsics.
      2. Plumbing to send TargetLibraryInfo down to SelectionDAGLegalize.
      3. Relaxed math and library checking in SelectionDAGLegalize::ConvertNodeToLibcall() to choose finite libcalls.
      
      There was a bug about determining the availability of the finite calls that should be fixed with:
      rL322010
      
      Not in this patch:
      This doesn't resolve the question/bug of clang creating the intrinsic IR in the first place.
      There's likely follow-up work needed to support the long double variants better.
      There's room for improvement to reduce the code duplication.
      Create finite calls that don't originate from a corresponding intrinsic or DAG node?
      
      Differential Revision: https://reviews.llvm.org/D41338
      
      llvm-svn: 322087
      37e28e40
    • Francis Visoiu Mistrih's avatar
      [CodeGen] Don't print register classes in -debug output · 2b3bd306
      Francis Visoiu Mistrih authored
      Since register classes and banks are already printed with the register
      definition, don't print it at the end of every instruction anymore.
      
      This follows MIR in this regard and is another step to the unification
      of the two formats.
      
      llvm-svn: 322086
      2b3bd306
    • Nirav Dave's avatar
      [DAG] Elide overlapping stores · 30304a3b
      Nirav Dave authored
      Relanding after fixing handling of pre-indexed memory operations in
      BaseIndexOffset analysis (r322003).
      
      Extend overlapping store elision to handle overwrites of stores by
      larger stores.
      
      Reviewers: craig.topper, rnk, t.p.northover
      
      Subscribers: javed.absar, hiraditya, llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D40969
      
      llvm-svn: 322085
      30304a3b
    • Eric Liu's avatar
      [clangd] Use ToolExecutor to write the global-symbol-builder tool. · 5732c0e6
      Eric Liu authored
      Summary:
      This enables more execution modes like standalone and Mapreduce-style execution.
      
      See also D41729
      
      Reviewers: hokein, sammccall
      
      Subscribers: klimek, ilya-biryukov, cfe-commits
      
      Differential Revision: https://reviews.llvm.org/D41730
      
      llvm-svn: 322084
      5732c0e6
    • Petar Jovanovic's avatar
      [EarlyCSE] Salvage debug info during DCE · 1d26c7e4
      Petar Jovanovic authored
      EarlyCSE did not try to salvage debug info during erasing of instructions.
      This change fixes it.
      
      Patch by Djordje Todorovic.
      
      Differential Revision: https://reviews.llvm.org/D41496
      
      llvm-svn: 322083
      1d26c7e4
    • Alexander Kornienko's avatar
      Explicitly specify output file. · bb3c2432
      Alexander Kornienko authored
      Otherwise the test fails when LLVM sources are on a read-only partition.
      
      llvm-svn: 322082
      bb3c2432