1. Jul 28, 2023
  2. Jul 27, 2023
    • LLVM GN Syncbot's avatar
      [gn build] Port 315946c5 · 50c8f914
      LLVM GN Syncbot authored
      50c8f914
    • spupyrev's avatar
      [BOLT] Add stale-related logging · 31e8a9f4
      spupyrev authored
      Adding some logs related to stale profile matching. The new data can be helpful
      to understand how "stale" the input profile is and how well the inference is
      able to utilize the stale data.
      
      Example of outputs on clang-10 built with LTO (profile collected on a year-old release):
      ```
      BOLT-INFO: inferred profile for 2101 (18.52% of profiled, 100.00% of stale) functions responsible for 30.95% samples (14754697 out of 47670654)
      BOLT-INFO: stale inference matched 89.42% of basic blocks (79052 out of 88402 stale) responsible for 76.99% samples (645737 out of 838719 stale)
      ```
      
      LTO+AutoFDO:
      ```
      BOLT-INFO: inferred profile for 6146 (57.57% of profiled, 100.00% of stale) functions responsible for 90.34% samples (50891403 out of 56330313)
      BOLT-INFO: stale inference matched 74.55% of basic blocks (191295 out of 256589 stale) responsible for 57.30% samples (1288632 out of 2248799 stale)
      ```
      
      Reviewed By: Amir, maksfb
      
      Differential Revision: https://reviews.llvm.org/D154737
      31e8a9f4
    • Simon Pilgrim's avatar
      [CostModel][X86] Add scalar rotate-by-immediate costs · bbfdb8cc
      Simon Pilgrim authored
      As noted on #63980 rotate by immediate amounts is much cheaper than variable amounts.
      
      This still needs to be expanded to vector rotate cases, and we need to add reasonable funnel-shift costs as well (very tricky as there's a huge range in CPU behaviour for these).
      bbfdb8cc
    • Piotr Zegar's avatar
      [clang-tidy] Added bugprone-multi-level-implicit-pointer-conversion check · 315946c5
      Piotr Zegar authored
      Detects implicit conversions between pointers of different levels of
      indirection.
      
      Reviewed By: xgupta
      
      Differential Revision: https://reviews.llvm.org/D149084
      315946c5
    • Maksim Kita's avatar
      [AggressiveInstCombine] Fold strcmp for short string literals with size 2 · cbfcf901
      Maksim Kita authored
      Fold strcmp for short string literals with size 2.
      Depends D155742.
      
      Differential Revision: https://reviews.llvm.org/D155743
      cbfcf901