[all-commits] [llvm/llvm-project] d46902: [Hexagon] Simplify an array of physical register i...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Feb 20 23:24:36 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d46902e31b29974e56285bbc6932c90656f6dd12
      https://github.com/llvm/llvm-project/commit/d46902e31b29974e56285bbc6932c90656f6dd12
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp

  Log Message:
  -----------
  [Hexagon] Simplify an array of physical register ids. NFC (#128066)

Make the array const. Use MCPhysReg, which is uint16_t, to reduce its
size. Remove NoRegister terminator by using a range-based for loop to
access.



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