1. Oct 23, 2019
  2. Oct 22, 2019
    • David Green's avatar
      [InstCombine] Signed saturation patterns · 186155b8
      David Green authored
      This adds an instcombine matcher for code that attempts to perform signed
      saturating arithmetic by casting to a higher type. Unsigned cases are already
      matched, this adds extra matches for the more complex signed cases, which
      involves matching the min(max(add a b)) nodes with proper extends to ensure
      legality.
      
      Differential Revision: https://reviews.llvm.org/D68651
      
      llvm-svn: 375505
      186155b8
    • Zoe Carver's avatar
      [libcxx] Remove shared_ptr::make_shared · 40c47680
      Zoe Carver authored
          Summary: This patch removes `shared_ptr::make_shared` as it is not part of the standard. This patch also adds __create_with_cntrl_block, which is a help function that can be used in std::allocate_shared and std::make_shared. This is the third patch (out of 4) from D66178.
      
          Reviewers: EricWF, mclow.lists, ldionne
      
          Subscribers: christof, dexonsmith, libcxx-commits
      
          Tags: #libc
      
          Differential Revision: https://reviews.llvm.org/D68805
      
      llvm-svn: 375504
      40c47680
    • David Green's avatar
      [InstCombine] Signed saturation tests. NFC · 3ef017d0
      David Green authored
      llvm-svn: 375503
      3ef017d0