@@ -34,12 +34,18 @@ def SM30 : SubtargetFeature<"sm_30", "SmVersion", "30",
34
34
"Target SM 3.0">;
35
35
def SM35 : SubtargetFeature<"sm_35", "SmVersion", "35",
36
36
"Target SM 3.5">;
37
+ def SM50 : SubtargetFeature<"sm_50", "SmVersion", "50",
38
+ "Target SM 5.0">;
37
39
38
40
// PTX Versions
39
41
def PTX30 : SubtargetFeature<"ptx30", "PTXVersion", "30",
40
42
"Use PTX version 3.0">;
41
43
def PTX31 : SubtargetFeature<"ptx31", "PTXVersion", "31",
42
44
"Use PTX version 3.1">;
45
+ def PTX32 : SubtargetFeature<"ptx32", "PTXVersion", "32",
46
+ "Use PTX version 3.2">;
47
+ def PTX40 : SubtargetFeature<"ptx40", "PTXVersion", "40",
48
+ "Use PTX version 4.0">;
43
49
44
50
//===----------------------------------------------------------------------===//
45
51
// NVPTX supported processors.
@@ -52,6 +58,7 @@ def : Proc<"sm_20", [SM20]>;
52
58
def : Proc<"sm_21", [SM21]>;
53
59
def : Proc<"sm_30", [SM30]>;
54
60
def : Proc<"sm_35", [SM35]>;
61
+ def : Proc<"sm_50", [SM50]>;
55
62
56
63
57
64
def NVPTXInstrInfo : InstrInfo {
0 commit comments