1. Jan 18, 2021
  2. Jan 17, 2021
    • Raphael Isemann's avatar
      [lldb][docs] Cleanup the Python doc strings for SB API classes · acdc7456
      Raphael Isemann authored
      The first line of the doc string ends up on the SB API class summary at
      the root page of the Python API  web page of LLDB. Currently many of the
      descriptions are missing or are several lines which makes the table really
      hard to read.
      
      This just adds the missing docstrings where possible and fixes the formatting
      where necessary.
      acdc7456
    • Nikita Popov's avatar
      [InstSimplify] Fold x*C1/C2 <= x (PR48744) · a13c0f62
      Nikita Popov authored
      We can fold x*C1/C2 <= x to true if C1 <= C2. This is valid even
      if the multiplication is not nuw: https://alive2.llvm.org/ce/z/vULors
      
      The multiplication or division can be replaced by shifts. We don't
      handle the case where both are shifts, as that should get folded
      away by InstCombine.
      a13c0f62