Commit e36ec537f2

Andrew Kelley <andrew@ziglang.org>
2023-08-25 20:19:37
nvptx: omit sm_90a from the CPU target features for now
There seems to be an LLVM bug with this feature. Since it's new, let's collect more information before adding it.
1 parent fe63d15
Changed files (1)
lib
std
target
lib/std/target/nvptx.zig
@@ -47,7 +47,6 @@ pub const Feature = enum {
     sm_87,
     sm_89,
     sm_90,
-    sm_90a,
 };
 
 pub const featureSet = CpuFeature.feature_set_fns(Feature).featureSet;
@@ -269,11 +268,6 @@ pub const all_features = blk: {
         .description = "Target SM 90",
         .dependencies = featureSet(&[_]Feature{}),
     };
-    result[@intFromEnum(Feature.sm_90a)] = .{
-        .llvm_name = "sm_90a",
-        .description = "Target SM 90a",
-        .dependencies = featureSet(&[_]Feature{}),
-    };
     const ti = @typeInfo(Feature);
     for (&result, 0..) |*elem, i| {
         elem.index = i;
@@ -442,12 +436,4 @@ pub const cpu = struct {
             .sm_90,
         }),
     };
-    pub const sm_90a = CpuModel{
-        .name = "sm_90a",
-        .llvm_name = "sm_90a",
-        .features = featureSet(&[_]Feature{
-            .ptx80,
-            .sm_90a,
-        }),
-    };
 };