[PowerPC] Fix FeatureISA3_1 def in PPC.td to imply FeatureISA3_0.
authorLei Huang <lei@ca.ibm.com>
Mon, 29 Jun 2020 21:13:02 +0000 (16:13 -0500)
committerLei Huang <lei@ca.ibm.com>
Mon, 29 Jun 2020 21:13:02 +0000 (16:13 -0500)
llvm/lib/Target/PowerPC/PPC.td

index 95ab6ed..4a4e7f4 100644 (file)
@@ -208,7 +208,8 @@ def FeatureISA3_0 : SubtargetFeature<"isa-v30-instructions", "IsISA3_0",
                                      "Enable instructions added in ISA 3.0.">;
 def FeatureISA3_1 : SubtargetFeature<"isa-v31-instructions", "IsISA3_1",
                                      "true",
-                                     "Enable instructions added in ISA 3.1.">;
+                                     "Enable instructions added in ISA 3.1.",
+                                     [FeatureISA3_0]>;
 def FeatureP9Altivec : SubtargetFeature<"power9-altivec", "HasP9Altivec", "true",
                                         "Enable POWER9 Altivec instructions",
                                         [FeatureISA3_0, FeatureP8Altivec]>;