[all-commits] [llvm/llvm-project] faf87e: [LAA] Prefer set-contains over set-count (NFC) (#1...

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Tue Apr 29 05:56:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: faf87e141438138c3ade265af472b00b25b67ac5
      https://github.com/llvm/llvm-project/commit/faf87e141438138c3ade265af472b00b25b67ac5
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2025-04-29 (Tue, 29 Apr 2025)

  Changed paths:
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp

  Log Message:
  -----------
  [LAA] Prefer set-contains over set-count (NFC) (#136749)

Improve code by preferring {SmallSet,SmallPtrSet}::contains() over the
count() function, when used in a boolean context.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list