[all-commits] [llvm/llvm-project] 44ddc9: [TableGen] Remove redundant special BitsInit/BitIn...

Tomer Shafir via All-commits all-commits at lists.llvm.org
Mon Jun 1 00:27:52 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44ddc97ade5ae1dcc06a10492ac9f2119cecd9c4
      https://github.com/llvm/llvm-project/commit/44ddc97ade5ae1dcc06a10492ac9f2119cecd9c4
  Author: Tomer Shafir <tomer.shafir8 at gmail.com>
  Date:   2026-06-01 (Mon, 01 Jun 2026)

  Changed paths:
    M llvm/lib/TableGen/TGParser.cpp

  Log Message:
  -----------
  [TableGen] Remove redundant special BitsInit/BitInt resolution(NFC) (#200674)

BitsInit and BitInt are subclasses of TypedInit, so the code above will
handle them and separate if for them is not necessary. See
https://github.com/llvm/llvm-project/pull/199659#discussion_r3319597920

Keeping the test cases in `llvm/test/TableGen/switch.td` to avoid
regressions.



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