Adding missing directive for Power9.
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Wed, 14 Sep 2016 14:09:39 +0000 (14:09 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Wed, 14 Sep 2016 14:09:39 +0000 (14:09 +0000)
There is currently no codegen for Power9 that depends on the directive
so this is NFC for now but will be important in the future. This was
missed in r268950 so I'm adding it now.

llvm-svn: 281473

llvm/lib/Target/PowerPC/PPC.td

index ac1c306..279c430 100644 (file)
@@ -203,7 +203,7 @@ def ProcessorFeatures {
   list<SubtargetFeature> Power8FeatureList =
       !listconcat(Power7FeatureList, Power8SpecificFeatures);
   list<SubtargetFeature> Power9SpecificFeatures =
-      [FeatureP9Altivec, FeatureP9Vector, FeatureISA3_0];
+      [DirectivePwr9, FeatureP9Altivec, FeatureP9Vector, FeatureISA3_0];
   list<SubtargetFeature> Power9FeatureList =
       !listconcat(Power8FeatureList, Power9SpecificFeatures);
 }