[PATCH] D70466: [PowerPC] Separate Features that are known to be Power9 specific from Future CPU
Nemanja Ivanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 21 05:59:22 PST 2019
nemanjai accepted this revision.
nemanjai added a comment.
This revision is now accepted and ready to land.
LGTM with some clarification in a comment.
================
Comment at: llvm/lib/Target/PowerPC/PPC.td:241
+ [DirectivePwr9, FeatureP9Altivec, FeatureP9Vector, FeatureISA3_0];
+ list<SubtargetFeature> Power9OnlyFeatures =
+ [FeatureVectorsUseTwoUnits, FeaturePPCPreRASched, FeaturePPCPostRASched];
----------------
Fair enough. So lets add a comment along the lines of the following here:
```
// Some features are unique to Power9 and there is no reason to assume
// they will be part of any future CPUs. One example is the narrower
// dispatch for vector operations than scalar ones. For the time being,
// this list also includes scheduling-related features since we do not have
// enough info to create custom scheduling strategies for future CPUs.
```
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70466/new/
https://reviews.llvm.org/D70466
More information about the llvm-commits
mailing list