1. Aug 10, 2019
  2. Aug 09, 2019
    • David Bolvansky's avatar
      [NFC] Added tests for D65898 · f6a56993
      David Bolvansky authored
      llvm-svn: 368447
      f6a56993
    • Gabor Horvath's avatar
      More warnings regarding gsl::Pointer and gsl::Owner attributes · c1dafd7b
      Gabor Horvath authored
      Differential Revision: https://reviews.llvm.org/D65120
      
      llvm-svn: 368446
      c1dafd7b
    • Sanjay Patel's avatar
      69ab7a0e
    • Raphael Isemann's avatar
      [lldb][NFC] Assert on invalid cursors positions when creating CompletionRequest · 19351b24
      Raphael Isemann authored
      Before we just triggered undefined behavior on invalid positions.
      
      llvm-svn: 368444
      19351b24
    • Sanjay Patel's avatar
      [DAGCombiner] remove redundant fold for X*1.0; NFC · 0b4ae34c
      Sanjay Patel authored
      This is handled at node creation time (similar to X/1.0)
      after:
      rL357029
      (no fast-math-flags needed)
      
      llvm-svn: 368443
      0b4ae34c
    • Raphael Isemann's avatar
      [lldb][NFC] Remove unused IRForTarget::BuildRelocation · db7d874b
      Raphael Isemann authored
      llvm-svn: 368442
      db7d874b
    • Jinsong Ji's avatar
      [MachinePipeliner] Avoid indeterminate order in FuncUnitSorter · 6349ce5c
      Jinsong Ji authored
      Summary:
      This is exposed by adding a new testcase in PowerPC in
      https://reviews.llvm.org/rL367732
      
      The testcase got different output on different platform, hence breaking
      buildbots.
      
      The problem is that we get differnt FuncUnitOrder when calculateResMII.
      
      The root cause is:
      1. Two MachineInstr might get SAME priority(MFUsx) from minFuncUnits.
      2. Current comparison operator() will return `MFUs1 > MFUs2`.
      3. We use iterators for MachineInstr, so the input to FuncUnitSorter
         might be different on differnt platform due to the iterator nature.
      
      So for two MI with same MFU, their order is actually depends on the
      iterator order, which is platform (implemtation) dependent.
      
      This is risky, and may cause cross-compiling problems.
      
      The fix is to check make sure we assign a determine order when they are
      equal.
      
      Reviewers: bcahoon, hfinkel, jmolloy
      
      Subscribers: nemanjai, hiraditya, MaskRay, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D65992
      
      llvm-svn: 368441
      6349ce5c
    • Benjamin Kramer's avatar
      [sanitizer] Update symbolizer/scripts/global_symbols.txt · 8819a734
      Benjamin Kramer authored
      llvm-svn: 368440
      8819a734
    • Whitney Tsang's avatar
      Title: Loop Cache Analysis · dd3b6498
      Whitney Tsang authored
      Summary: Implement a new analysis to estimate the number of cache lines
      required by a loop nest.
      The analysis is largely based on the following paper:
      
      Compiler Optimizations for Improving Data Locality
      By: Steve Carr, Katherine S. McKinley, Chau-Wen Tseng
      http://www.cs.utexas.edu/users/mckinley/papers/asplos-1994.pdf
      The analysis considers temporal reuse (accesses to the same memory
      location) and spatial reuse (accesses to memory locations within a cache
      line). For simplicity the analysis considers memory accesses in the
      innermost loop in a loop nest, and thus determines the number of cache
      lines used when the loop L in loop nest LN is placed in the innermost
      position.
      
      The result of the analysis can be used to drive several transformations.
      As an example, loop interchange could use it determine which loops in a
      perfect loop nest should be interchanged to maximize cache reuse.
      Similarly, loop distribution could be enhanced to take into
      consideration cache reuse between arrays when distributing a loop to
      eliminate vectorization inhibiting dependencies.
      
      The general approach taken to estimate the number of cache lines used by
      the memory references in the inner loop of a loop nest is:
      
      Partition memory references that exhibit temporal or spatial reuse into
      reference groups.
      For each loop L in the a loop nest LN: a. Compute the cost of the
      reference group b. Compute the 'cache cost' of the loop nest by summing
      up the reference groups costs
      For further details of the algorithm please refer to the paper.
      Authored By: etiotto
      Reviewers: hfinkel, Meinersbur, jdoerfert, kbarton, bmahjour, anemet,
      fhahn
      Reviewed By: Meinersbur
      Subscribers: reames, nemanjai, MaskRay, wuzish, Hahnfeld, xusx595,
      venkataramanan.kumar.llvm, greened, dmgreen, steleman, fhahn, xblvaOO,
      Whitney, mgorny, hiraditya, mgrang, jsji, llvm-commits
      Tag: LLVM
      Differential Revision: https://reviews.llvm.org/D63459
      
      llvm-svn: 368439
      dd3b6498