Skip to content

Commit d072431

Browse files
committed
Revert "Initialize AVX10.1 features too, though we don't have a target for test"
This reverts commit 2124770. Do not initialize AVX10.1 features for now since it affects other lit tests.
1 parent 2124770 commit d072431

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Basic/Targets/X86.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ bool X86TargetInfo::initFeatureMap(
123123
enum { FE_NOSET = -1, FE_FALSE, FE_TRUE };
124124
int HasEVEX512 = FE_NOSET;
125125
bool HasAVX512F = Features["avx512f"];
126-
bool HasAVX10 = Features["avx10.1-256"];
127-
bool HasAVX10_512 = Features["avx10.1-512"];
126+
bool HasAVX10 = false;
127+
bool HasAVX10_512 = false;
128128
std::string LastAVX10;
129129
std::string LastAVX512;
130130
for (const auto &Feature : FeaturesVec) {

0 commit comments

Comments
 (0)