[all-commits] [llvm/llvm-project] e0d0d3: [llvm][MC] Store RegSize using uint32_t instead of...

Chenguang Wang via All-commits all-commits at lists.llvm.org
Tue Jun 9 09:20:48 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0d0d3db9dd47ab9649ebb356ce404b55a2e4a77
      https://github.com/llvm/llvm-project/commit/e0d0d3db9dd47ab9649ebb356ce404b55a2e4a77
  Author: Chenguang Wang <w3cing at gmail.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetRegisterInfo.h
    M llvm/include/llvm/MC/MCRegisterInfo.h
    M llvm/test/TableGen/ConcatenatedSubregs.td
    M llvm/test/TableGen/RegisterClassCopyCost.td
    M llvm/utils/TableGen/Common/CodeGenRegisters.cpp
    M llvm/utils/TableGen/Common/CodeGenRegisters.h
    M llvm/utils/TableGen/Common/InfoByHwMode.h
    M llvm/utils/TableGen/RegisterInfoEmitter.cpp

  Log Message:
  -----------
  [llvm][MC] Store RegSize using uint32_t instead of uint16_t. (#201886)

`uint32_t` is needed for working with registers with size >= 65535,
which is the case for a private ISA that I am currently working on. The
performance impact is negligible. See discussions in [LLVM
Discourse](https://discourse.llvm.org/t/rfc-support-reg-sizes-greater-than-65534/90970/2).



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