[all-commits] [llvm/llvm-project] 4e6c48: [RISCV] Merge RegStart with RegEnd in parseRegList...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Apr 1 08:04:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e6c48f1e74c46e62342f24ac879fd32d9a6c783
      https://github.com/llvm/llvm-project/commit/4e6c48f1e74c46e62342f24ac879fd32d9a6c783
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-04-01 (Tue, 01 Apr 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp

  Log Message:
  -----------
  [RISCV] Merge RegStart with RegEnd in parseRegListCommon. NFC (#133867)

We only need to keep track of the last register seen. We never need the
first register once we've parsed. Currently if s0/x8 is used RegStart
will point to that and not ra/s1 so it already isn't the start.



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