[llvm] [DXIL][Analysis] Collect Function properties in Metadata Analysis (PR #105728)

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 27 16:11:42 PDT 2024


================
@@ -19,12 +20,16 @@ namespace llvm {
 
 namespace dxil {
 
+struct FunctionProperties {
+  unsigned NumThreads[3];
----------------
bogner wrote:

Would it be more usable to just specify the three numbers individually? I doubt that iterating through these is particularly meaningful.
```suggestion
  unsigned NumThreadsX;
  unsigned NumThreadsY;
  unsigned NumThreadsZ;
```

https://github.com/llvm/llvm-project/pull/105728


More information about the llvm-commits mailing list