Skip to content
  1. Dec 30, 2018
  2. Dec 29, 2018
  3. Dec 28, 2018
    • Alexey Bataev's avatar
      [OPENMP][NVPTX]Added/fixed debugging messages, NFC. · d1cd005e
      Alexey Bataev authored
      Summary: Added or fixed new/old debugging messages for the better diagnostics.
      
      Reviewers: gtbercea, kkwli0, grokos
      
      Reviewed By: grokos
      
      Subscribers: caomhin, guansong, openmp-commits
      
      Differential Revision: https://reviews.llvm.org/D56102
      
      llvm-svn: 350137
      d1cd005e
    • Dan Liew's avatar
      Introduce `LocalAddressSpaceView::LoadWritable(...)` and make the `Load(...)`... · 8c11fb3e
      Dan Liew authored
      Introduce `LocalAddressSpaceView::LoadWritable(...)` and make the `Load(...)` method return a const pointer.
      
      Summary:
      This is a follow-up to r346956 (https://reviews.llvm.org/D53975).
      
      The purpose of this change to allow implementers of the
      `AddressSpaceView` to be able to distinguish between when a caller wants
      read-only memory and when a caller wants writable memory. Being able
      distinguish these cases allows implementations to optimize for the
      different cases and also provides a way to workaround possible platform
      restrictions (e.g. the low level platform interface for reading
      out-of-process memory may place memory in read-only pages).
      
      For allocator enumeration in almost all cases read-only is sufficient so
      we make `Load(...)` take on this new requirement and introduce the
      `LoadWritable(...)` variants for cases where memory needs to be
      writable.
      
      The behaviour of `LoadWritable(...)` documented in comments are
      deliberately very restrictive so that it will be possible in the future
      to implement a simple write-cache (i.e. just a map from target address
      to a writable region of memory). These restrictions can be loosened in
      the future if necessary by implementing a more sophisticated
      write-cache.
      
      rdar://problem/45284065
      
      Reviewers: kcc, cryptoad, eugenis, kubamracek, george.karpenkov
      
      Subscribers: #sanitizers, llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D54879
      
      llvm-svn: 350136
      8c11fb3e
    • Anna Thomas's avatar
      [UnrollRuntime] NFC: Updated exiting tests and added more tests · bae11e79
      Anna Thomas authored
      Added more tests for multiple exiting blocks to the LatchExit.
      Today these cases are not supported. Patch to follow soon.
      
      llvm-svn: 350135
      bae11e79
    • Craig Topper's avatar
      [X86] Directly emit X86ISD::PMULUDQ from the ReplaceNodeResults handling of... · f814d28e
      Craig Topper authored
      [X86] Directly emit X86ISD::PMULUDQ from the ReplaceNodeResults handling of v2i8/v2i16/v2i32 multiply.
      
      Previously we emitted a multiply and some masking that was supposed to matched to PMULUDQ, but the masking could sometimes be removed before we got a chance to match it. So instead just emit the PMULUDQ directly.
      
      Remove the DAG combine that was added when the ReplaceNodeResults code was originally added. Add a new DAG combine to avoid regressions in shrink_vmul.ll
      
      Some of the shrink_vmul.ll test cases now pick PMULUDQ instead of PMADDWD/PMULLD, but I think this should be an improvement on most CPUs.
      
      I think all of this can go away if/when we switch to -x86-experimental-vector-widening-legalization
      
      llvm-svn: 350134
      f814d28e
    • Hyrum Wright's avatar
      [clang-tidy] Export the abseil duration inverse lookup function, NFC · 4ce05801
      Hyrum Wright authored
      This allows other tools to use this function.
      
      llvm-svn: 350133
      4ce05801
    • Reid Kleckner's avatar
      Speculative fix for xray assembler error on MachO since r349976 · 1c6dbd69
      Reid Kleckner authored
      This .file directive wasn't doing anything on MachO, and now that's
      diagnosed as an error.
      
      llvm-svn: 350132
      1c6dbd69
    • Anna Thomas's avatar
      [UnrollRuntime] NFC: Add comment and verify LCSSA · 98743fa7
      Anna Thomas authored
      Added -verify-loop-lcssa to test cases.
      Updated comments in ConnectProlog.
      
      llvm-svn: 350131
      98743fa7
    • David Chisnall's avatar
      [objc-gnustep2] Fix a bug in category generation. · 386477a5
      David Chisnall authored
      We were not emitting a protocol definition while generating the category
      method list.  This was fine in most cases, because something else in the
      library typically referenced any given protocol, but it caused linker
      failures if the category was the only reference to a given protocol.
      
      llvm-svn: 350130
      386477a5
    • Alexey Bataev's avatar
      [OPENMP][NVPTX]Fixed initialization of the data-sharing interface. · 28eccf5b
      Alexey Bataev authored
      Summary:
      Avoid using of the atomic loop to wait for the completion of the
      data-sharing interface initialization, use __shfl_sync instead for the
      communication within the warp to signal other threads in the warp about
      completion of the initialization.
      
      Reviewers: gtbercea, kkwli0, grokos
      
      Subscribers: guansong, jfb, caomhin, openmp-commits
      
      Differential Revision: https://reviews.llvm.org/D56100
      
      llvm-svn: 350129
      28eccf5b
Loading