[llvm] [Offload] Define additional device info properties (PR #152533)
Ross Brunton via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 8 02:53:46 PDT 2025
================
@@ -158,16 +158,32 @@ class Etor<string Name, string Desc> {
string tagged_type;
}
+class EtorTemplate<string Name, string Desc, list<string> TemplateValues> : Etor<Name, Desc> {
+ // Create Etor for every value in template_values by replacing the string
+ // "<TemplateEtor>" with the template value in the name and description
----------------
RossBrunton wrote:
Fair point, `%TEMPLATE%` is fine for me.
Also, having to escape `$` does suggest a world where there are microtransactions on function calls.
https://github.com/llvm/llvm-project/pull/152533
More information about the llvm-commits
mailing list