[llvm] [DXIL][Analysis] Collect Function properties in Metadata Analysis (PR #105728)
Xiang Li via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 22 14:45:42 PDT 2024
================
@@ -19,12 +20,16 @@ namespace llvm {
namespace dxil {
+struct FunctionProperties {
+ unsigned NumThreads[3];
----------------
python3kgae wrote:
We might need to put things in a union since not every shader profile has NumThreads.
Something like the PipelinePSVInfo union in PSV https://github.com/llvm/llvm-project/blob/main/llvm/include/llvm/BinaryFormat/DXContainer.h#L238
https://github.com/llvm/llvm-project/pull/105728
More information about the llvm-commits
mailing list