[all-commits] [llvm/llvm-project] 1365ce: [llvm-profdata] Clean up traverseAllValueSites (NF...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Thu Jun 13 13:59:22 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1365ce22e9a419c992cb81824f5176390de83ee6
      https://github.com/llvm/llvm-project/commit/1365ce22e9a419c992cb81824f5176390de83ee6
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/tools/llvm-profdata/llvm-profdata.cpp

  Log Message:
  -----------
  [llvm-profdata] Clean up traverseAllValueSites (NFC) (#95467)

If NV == 0, nothing interesting happens after the "if" statement.  We
should just "continue" to the next value site.

While I am at it, this patch migrates a use of getValueForSite to
getValueArrayForSite.



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