[llvm] 83503ad - [X86] Remove FeatureSSE3 from the implies list of HasFastHorizontalOps.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 1 23:18:08 PDT 2019
Author: Craig Topper
Date: 2019-11-01T23:17:53-07:00
New Revision: 83503ad1196549ee6cc6d43e7f8db7eaaa6afbc6
URL: https://github.com/llvm/llvm-project/commit/83503ad1196549ee6cc6d43e7f8db7eaaa6afbc6
DIFF: https://github.com/llvm/llvm-project/commit/83503ad1196549ee6cc6d43e7f8db7eaaa6afbc6.diff
LOG: [X86] Remove FeatureSSE3 from the implies list of HasFastHorizontalOps.
HasFastHorizontalOps is a tuning flag. It shouldn't imply an ISA flag.
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 e7611616d10b..44be46ef41c4 100644
--- a/llvm/lib/Target/X86/X86.td
+++ b/llvm/lib/Target/X86/X86.td
@@ -443,7 +443,7 @@ def FeatureFastHorizontalOps
: SubtargetFeature<
"fast-hops", "HasFastHorizontalOps", "true",
"Prefer horizontal vector math instructions (haddp, phsub, etc.) over "
- "normal vector instructions with shuffles", [FeatureSSE3]>;
+ "normal vector instructions with shuffles">;
def FeatureFastScalarShiftMasks
: SubtargetFeature<
More information about the llvm-commits
mailing list