Skip to content

Commit 1b61afe

Browse files
committed
[X86] Support avx/avx2 by default.
1 parent 09da8c0 commit 1b61afe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/TargetParser/X86TargetParser.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,8 @@ void llvm::X86::getFeaturesForCPU(StringRef CPU,
633633
Bits |= FeatureSSE3;
634634
Bits |= FeatureSSE4_1;
635635
Bits |= FeatureSSE4_2;
636+
Bits |= FeatureAVX;
637+
Bits |= FeatureAVX2;
636638
Bits |= FeatureINVPCID;
637639
Bits |= FeatureRTM;
638640
#endif

0 commit comments

Comments
 (0)