]> granicus.if.org Git - llvm/commitdiff
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281473 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPC.td

index ac1c3060046864bad9ce00a1cdbcc8937c3314b1..279c430e1ce9a7356ea0425787abbe7328cdc9da 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);
 }