commit | 63b80dd01dafc92104ee43e4f0f5296d644c25ec | [log] [tgz] |
---|---|---|
author | Finn Plummer <finn.c.plum@gmail.com> | Mon Jun 16 11:45:19 2025 -0700 |
committer | GitHub <noreply@github.com> | Mon Jun 16 11:45:19 2025 -0700 |
tree | a6afcbd1d96670a292f0f8a9e7195419963d8701 | |
parent | 8ed43c47dec36bc38bbae4c6f024cdb824555a76 [diff] |
[NFC][RootSignature] Use `llvm::EnumEntry` for serialization of Root Signature Elements (#144106) It has pointed out [here](https://github.com/llvm/llvm-project/pull/143198#discussion_r2132877388) that we may be able to use `llvm::EnumEntry` so that we can re-use the printing logic across enumerations. - Enables re-use of `printEnum` and `printFlags` methods via templates - Allows easy definition of `getEnumName` function for enum-to-string conversion, eliminating the need to use a string stream for constructing the Name SmallString - Also, does a small fix-up of the operands for descriptor table clause to be consistent with other `Build*` methods For reference, the [test-cases](https://github.com/llvm/llvm-project/blob/main/llvm/unittests/Frontend/HLSLRootSignatureDumpTest.cpp) that must not change expected output.
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.