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

S. Bharadwaj Yadavalli via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 28 17:27:07 PDT 2024


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

> > Are these function properties or entry point properties? What else do we expect to need in this struct?
> 
> The intent is to provide a generic structure to hold any function properties (if/as needed) - but am not opposed to renaming it to `EntryProperties` if other properties of other functions are not collected or of use.

Renamed.

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


More information about the llvm-commits mailing list