diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-05-01 05:28:32 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-05-01 05:28:32 +0000 |
commit | da1a984159ac673da06dc7d8f87dc81f673c5f49 (patch) | |
tree | 57798b7293c8f19c0f2849f12d7fa9c9957e4696 /lib/Target/X86/X86.td | |
parent | ed39ac5026aafce014313f2f26cfff164c84efb7 (diff) |
Make CLMUL and AES imply SSE2 since its needed to legalize the type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86.td')
-rw-r--r-- | lib/Target/X86/X86.td | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/X86/X86.td b/lib/Target/X86/X86.td index 67b59b28d6..14b6b24698 100644 --- a/lib/Target/X86/X86.td +++ b/lib/Target/X86/X86.td @@ -87,7 +87,8 @@ def FeatureAVX2 : SubtargetFeature<"avx2", "X86SSELevel", "AVX2", "Enable AVX2 instructions", [FeatureAVX]>; def FeatureCLMUL : SubtargetFeature<"clmul", "HasCLMUL", "true", - "Enable carry-less multiplication instructions">; + "Enable carry-less multiplication instructions", + [FeatureSSE2]>; def FeatureFMA3 : SubtargetFeature<"fma3", "HasFMA3", "true", "Enable three-operand fused multiple-add", [FeatureAVX]>; @@ -100,7 +101,8 @@ def FeatureVectorUAMem : SubtargetFeature<"vector-unaligned-mem", "HasVectorUAMem", "true", "Allow unaligned memory operands on vector/SIMD instructions">; def FeatureAES : SubtargetFeature<"aes", "HasAES", "true", - "Enable AES instructions">; + "Enable AES instructions", + [FeatureSSE2]>; def FeatureMOVBE : SubtargetFeature<"movbe", "HasMOVBE", "true", "Support MOVBE instruction">; def FeatureRDRAND : SubtargetFeature<"rdrand", "HasRDRAND", "true", |