From e106d2e2ac0ccd822b78e258a79a9814ed0fa009 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 1 May 2012 05:41:41 +0000 Subject: [PATCH] Make XOP imply AVX as its needed to legalize the registers types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155891 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86.td | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Target/X86/X86.td b/lib/Target/X86/X86.td index 14b6b246987..40c96676b1c 100644 --- a/lib/Target/X86/X86.td +++ b/lib/Target/X86/X86.td @@ -96,7 +96,8 @@ def FeatureFMA4 : SubtargetFeature<"fma4", "HasFMA4", "true", "Enable four-operand fused multiple-add", [FeatureAVX]>; def FeatureXOP : SubtargetFeature<"xop", "HasXOP", "true", - "Enable XOP instructions">; + "Enable XOP instructions", + [FeatureAVX]>; def FeatureVectorUAMem : SubtargetFeature<"vector-unaligned-mem", "HasVectorUAMem", "true", "Allow unaligned memory operands on vector/SIMD instructions">; -- 2.34.1