[llvm] a1df2ef - [X86] Ensure ZN3Tuning inherits from ZN2Tuning instead of ZNTuning
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 7 06:02:26 PDT 2022
Author: Simon Pilgrim
Date: 2022-04-07T14:01:15+01:00
New Revision: a1df2ef5cbf09fffd6da152c7b7c1b9f8f455cac
URL: https://github.com/llvm/llvm-project/commit/a1df2ef5cbf09fffd6da152c7b7c1b9f8f455cac
DIFF: https://github.com/llvm/llvm-project/commit/a1df2ef5cbf09fffd6da152c7b7c1b9f8f455cac.diff
LOG: [X86] Ensure ZN3Tuning inherits from ZN2Tuning instead of ZNTuning
At the moment ZN2Tuning is just a copy of ZNTuning, but we should try to keep a clean inheritance.
Added:
Modified:
llvm/lib/Target/X86/X86.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86.td b/llvm/lib/Target/X86/X86.td
index 9765cb465bdc6..d688d3c21cc70 100644
--- a/llvm/lib/Target/X86/X86.td
+++ b/llvm/lib/Target/X86/X86.td
@@ -1212,7 +1212,7 @@ def ProcessorFeatures {
[TuningMacroFusion,
TuningFastVariablePerLaneShuffle];
list<SubtargetFeature> ZN3Tuning =
- !listconcat(ZNTuning, ZN3AdditionalTuning);
+ !listconcat(ZN2Tuning, ZN3AdditionalTuning);
list<SubtargetFeature> ZN3Features =
!listconcat(ZN2Features, ZN3AdditionalFeatures);
}
More information about the llvm-commits
mailing list