[all-commits] [llvm/llvm-project] 928194: [NFC][TableGen] Code cleanup in CodeGenRegister (#...
Rahul Joshi via All-commits
all-commits at lists.llvm.org
Mon May 5 14:06:21 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9281947a7dd8ae40c70548989cb0bbbf27e6cd10
https://github.com/llvm/llvm-project/commit/9281947a7dd8ae40c70548989cb0bbbf27e6cd10
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2025-05-05 (Mon, 05 May 2025)
Changed paths:
M llvm/include/llvm/TableGen/Record.h
M llvm/utils/TableGen/Common/CodeGenRegisters.cpp
M llvm/utils/TableGen/Common/CodeGenRegisters.h
Log Message:
-----------
[NFC][TableGen] Code cleanup in CodeGenRegister (#137994)
- Use range for loops.
- Wrap complex LLVM_DEBUG() macros in {} to have clang-format format the
contents similar to regular code.
- Extract repeated code snippets for debug dumping into helper lambda.
- Add `BitsInit::getBits()` to get all contained bits.
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