================ @@ -21,6 +21,10 @@ class SM<string version, list<SMFeatures> newer_list> : SMFeatures { !strconcat(f, "|", newer.Features)); } +let Features = "sm_101a" in def SM_101a : SMFeatures; + +def SM_101 : SM<"101", [SM_101a]>; ---------------- Artem-B wrote:
This needs some changes. First, we now have sm120 and 120a and those should be added, too. Second, the idea here is that for each `def SM_X we need to list other SMs that are its superset`. When you add a new SM, you need to update the previous most recent SM to include the new one. E.g. ``` def SM_101 : SM<"101", [SM_101a]>; def SM_100 : SM<"100", [SM_101, SM_100a]>; def SM_90 : SM<"90", [SM_100, SM_90a]>; ``` https://github.com/llvm/llvm-project/pull/127187 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits