Skip to content
  1. Jul 20, 2014
  2. Jul 19, 2014
  3. Jul 18, 2014
  4. Jul 17, 2014
  5. Jul 16, 2014
  6. Jul 15, 2014
  7. Jul 14, 2014
  8. Jul 13, 2014
  9. Jul 12, 2014
  10. Jul 11, 2014
  11. Jul 10, 2014
    • Duncan P. N. Exon Smith's avatar
      InstCombine: Fix a crash in Descale for multiply-by-zero · 04934b0f
      Duncan P. N. Exon Smith authored
      Fix a crash in `InstCombiner::Descale()` when a multiply-by-zero gets
      created as an argument to a GEP partway through an iteration, causing
      -instcombine to optimize the GEP before the multiply.
      
      rdar://problem/17615671
      
      llvm-svn: 212742
      04934b0f
    • Hal Finkel's avatar
      Feeding isSafeToSpeculativelyExecute its DataLayout pointer (in Sink) · 511fea7a
      Hal Finkel authored
      This is the one remaining place I see where passing
      isSafeToSpeculativelyExecute a DataLayout pointer might matter (at least for
      loads) -- I think I got the others in r212720. Most of the other remaining
      callers of isSafeToSpeculativelyExecute only use it for call sites (or
      otherwise exclude loads).
      
      llvm-svn: 212730
      511fea7a
    • Hal Finkel's avatar
      Feeding isSafeToSpeculativelyExecute its DataLayout pointer · a995f926
      Hal Finkel authored
      isSafeToSpeculativelyExecute can optionally take a DataLayout pointer. In the
      past, this was mainly used to make better decisions regarding divisions known
      not to trap, and so was not all that important for users concerned with "cheap"
      instructions. However, now it also helps look through bitcasts for
      dereferencable loads, and will also be important if/when we add a
      dereferencable pointer attribute.
      
      This is some initial work to feed a DataLayout pointer through to callers of
      isSafeToSpeculativelyExecute, generally where one was already available.
      
      llvm-svn: 212720
      a995f926
    • Hal Finkel's avatar
      Allow isDereferenceablePointer to look through some bitcasts · 2e42c34d
      Hal Finkel authored
      isDereferenceablePointer should not give up upon encountering any bitcast. If
      we're casting from a pointer to a larger type to a pointer to a small type, we
      can continue by examining the bitcast's operand. This missing capability
      was noted in a comment in the function.
      
      In order for this to work, isDereferenceablePointer now takes an optional
      DataLayout pointer (essentially all callers already had such a pointer
      available). Most code uses isDereferenceablePointer though
      isSafeToSpeculativelyExecute (which already took an optional DataLayout
      pointer), and to enable the LICM test case, LICM needs to actually provide its DL
      pointer to isSafeToSpeculativelyExecute (which it was not doing previously).
      
      llvm-svn: 212686
      2e42c34d
    • Peter Collingbourne's avatar
      [dfsan] Handle bitcast aliases. · 2e28edf8
      Peter Collingbourne authored
      llvm-svn: 212668
      2e28edf8
  12. Jul 09, 2014
  13. Jul 08, 2014
Loading