1. Sep 16, 2019
  2. Sep 15, 2019
    • Simon Pilgrim's avatar
      [DebugInfo] Don't dereference a dyn_cast<PDBSymbolData> result. NFCI. · 4f234aaf
      Simon Pilgrim authored
      The static analyzer is warning about a potential null dereference - but as we're in DataMemberLayoutItem we should be able to guarantee that the Symbol is a PDBSymbolData type, allowing us to use cast<PDBSymbolData> - and if not assert will fire for us.
      
      llvm-svn: 371933
      4f234aaf
    • David Green's avatar
      [ARM] Masked loads and stores · b325c057
      David Green authored
      Masked loads and store fit naturally with MVE, the instructions being easily
      predicated. This adds lowering for the simple cases of masked loads and stores.
      It does not yet deal with widening/narrowing or pre/post inc, and so is
      currently behind an option.
      
      The llvm masked load intrinsic will accept a "passthru" value, dictating the
      values used for the zero masked lanes. In MVE the instructions write 0 to the
      zero predicated lanes, so we need to match a passthru that isn't 0 (or undef)
      with a select instruction to pull in the correct data after the load.
      
      Differential Revision: https://reviews.llvm.org/D67186
      
      llvm-svn: 371932
      b325c057
    • Sanjay Patel's avatar
      [SLP] limit vectorization of Constant subclasses (PR33958) · b6a0faaa
      Sanjay Patel authored
      This is a fix for:
      https://bugs.llvm.org/show_bug.cgi?id=33958
      
      It seems universally true that we would not want to transform this kind of
      sequence on any target, but if that's not correct, then we could view this
      as a target-specific cost model problem. We could also white-list ConstantInt,
      ConstantFP, etc. rather than blacklist Global and ConstantExpr.
      
      Differential Revision: https://reviews.llvm.org/D67362
      
      llvm-svn: 371931
      b6a0faaa