[all-commits] [llvm/llvm-project] f2607d: [TableGen] Use uint8_t for bit_value_t enum. NFC

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Mar 7 23:30:22 PST 2025


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

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

  Log Message:
  -----------
  [TableGen] Use uint8_t for bit_value_t enum. NFC

This reduces the amount of space needed for vectors of bit_value_t
and allows the user of memset.

Also reorder the enum values so BIT_FALSE is 0 and BIT_TRUE is 1.



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