diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index cc53b0f090a4..3e54c12c19b8 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/lib/Basic/Targets.cpp @@ -2252,37 +2252,37 @@ void X86TargetInfo::setFeatureEnabledImpl(llvm::StringMap &Features, Features[Name] = Enabled; - if (Name == "mmx") + if (Name == "mmx") { setMMXLevel(Features, MMX, Enabled); - else if (Name == "sse") + } else if (Name == "sse") { setSSELevel(Features, SSE1, Enabled); - else if (Name == "sse2") + } else if (Name == "sse2") { setSSELevel(Features, SSE2, Enabled); - else if (Name == "sse3") + } else if (Name == "sse3") { setSSELevel(Features, SSE3, Enabled); - else if (Name == "ssse3") + } else if (Name == "ssse3") { setSSELevel(Features, SSSE3, Enabled); - else if (Name == "sse4.2") + } else if (Name == "sse4.2") { setSSELevel(Features, SSE42, Enabled); - else if (Name == "sse4.1") + } else if (Name == "sse4.1") { setSSELevel(Features, SSE41, Enabled); - else if (Name == "3dnow") + } else if (Name == "3dnow") { setMMXLevel(Features, AMD3DNow, Enabled); - else if (Name == "3dnowa") + } else if (Name == "3dnowa") { setMMXLevel(Features, AMD3DNowAthlon, Enabled); - else if (Name == "aes") { + } else if (Name == "aes") { if (Enabled) setSSELevel(Features, SSE2, Enabled); } else if (Name == "pclmul") { if (Enabled) setSSELevel(Features, SSE2, Enabled); - } else if (Name == "avx") + } else if (Name == "avx") { setSSELevel(Features, AVX, Enabled); - else if (Name == "avx2") + } else if (Name == "avx2") { setSSELevel(Features, AVX2, Enabled); - else if (Name == "avx512f") + } else if (Name == "avx512f") { setSSELevel(Features, AVX512F, Enabled); - else if (Name == "avx512cd" || Name == "avx512er" || Name == "avx512pf") { + } else if (Name == "avx512cd" || Name == "avx512er" || Name == "avx512pf") { if (Enabled) setSSELevel(Features, AVX512F, Enabled); } else if (Name == "fma") {