[all-commits] [llvm/llvm-project] fbec1c: [NFC][CodeLayout] Remove unused parameter (#110145)

Ellis Hoag via All-commits all-commits at lists.llvm.org
Thu Sep 26 10:28:27 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fbec1c2a08ce2ae9750ddf3cecc86c5dd2bbc9d8
      https://github.com/llvm/llvm-project/commit/fbec1c2a08ce2ae9750ddf3cecc86c5dd2bbc9d8
  Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
  Date:   2024-09-26 (Thu, 26 Sep 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/CodeLayout.h
    M llvm/lib/CodeGen/MachineBlockPlacement.cpp
    M llvm/lib/Transforms/Utils/CodeLayout.cpp

  Log Message:
  -----------
  [NFC][CodeLayout] Remove unused parameter (#110145)

The `NodeCounts` parameter of `calcExtTspScore()` is unused, so remove
it.
Use `SmallVector` since arrays are expected to be small since they
represent MBBs.



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