[clang] [llvm] [PowerPC] frontend get target feature from backend with cpu name (PR #137670)
Amy Kwan via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 2 10:06:15 PDT 2025
================
@@ -444,7 +444,7 @@ def ProcessorFeatures {
// 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.
- list<SubtargetFeature> P9SpecificFeatures = [FeatureVectorsUseTwoUnits];
+ list<SubtargetFeature> P9SpecificFeatures = [FeatureVectorsUseTwoUnits,FeatureHTM];
----------------
amy-kwan wrote:
Nit on spacing.
```suggestion
list<SubtargetFeature> P9SpecificFeatures = [FeatureVectorsUseTwoUnits, FeatureHTM];
```
https://github.com/llvm/llvm-project/pull/137670
More information about the llvm-commits
mailing list