[all-commits] [llvm/llvm-project] fd21d3: [TableGen] Reduce the number of vectors passed to ...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Mar 10 21:02:30 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fd21d35178c50207cdc03f53ee16f83d22613ab0
      https://github.com/llvm/llvm-project/commit/fd21d35178c50207cdc03f53ee16f83d22613ab0
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M llvm/utils/TableGen/DecoderEmitter.cpp

  Log Message:
  -----------
  [TableGen] Reduce the number of vectors passed to getIslands. NFC (#130402)

Combine the StartBits, EndBits, and FieldVals vectors into a single
vector of a struct that contains all 3 pieces of information.

Instead of storing EndBits, we store NumBits since that's what the users
want.

I've removed the BitNo variable as it was easy to construct calculate
from StartBit. I've also removed Num in favor of Islands.size().



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