[all-commits] [llvm/llvm-project] 3d89f2: [RISCV] Remove null terminator from CSRegs in dete...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Dec 1 14:06:12 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d89f2ac16c2a05450693dd0ca223891f5014c1b
      https://github.com/llvm/llvm-project/commit/3d89f2ac16c2a05450693dd0ca223891f5014c1b
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-12-01 (Fri, 01 Dec 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp

  Log Message:
  -----------
  [RISCV] Remove null terminator from CSRegs in determineCalleeSaves. NFC (#74131)

Presumably this was done to make it similar to the getCalleeSavedRegs
list in RegInfo, but its simpler to use a range based for loop over the
array.




More information about the All-commits mailing list