[all-commits] [llvm/llvm-project] 236657: [TableGen] Minor cleanup in `StringToOffsetTable` ...
Rahul Joshi via All-commits
all-commits at lists.llvm.org
Wed Jul 9 12:22:51 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 23665736796e61ece80ca7b7203c16489cf37341
https://github.com/llvm/llvm-project/commit/23665736796e61ece80ca7b7203c16489cf37341
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2025-07-09 (Wed, 09 Jul 2025)
Changed paths:
M llvm/include/llvm/ADT/StringMapEntry.h
M llvm/include/llvm/TableGen/StringToOffsetTable.h
M llvm/lib/TableGen/StringToOffsetTable.cpp
M llvm/test/TableGen/MixedCasedMnemonic.td
M llvm/test/TableGen/SDNodeInfoEmitter/basic.td
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
M llvm/utils/TableGen/Basic/IntrinsicEmitter.cpp
M llvm/utils/TableGen/OptionParserEmitter.cpp
Log Message:
-----------
[TableGen] Minor cleanup in `StringToOffsetTable` (#147712)
Make `AppendZero` a class member instead of an argument to
`GetOrAddStringOffset` to reflect the intended usage that for a given
`StringToOffsetTable`, all strings must use the same value of
`AppendZero`.
Modify `EmitStringTableDef` to drop the `Indent` argument as its always
set to `""`, and to fail if it's called for a table with
non-null-terminated strings.
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