diff options
author | Craig Topper <craig.topper@intel.com> | 2017-06-30 18:14:02 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2017-06-30 18:14:02 +0000 |
commit | 9dd68b7525f9b8b30923b6b23f5b4fba33aec7a2 (patch) | |
tree | a88166a649165b2fd2df3477478739b3c9d00f31 /lib/Basic/Targets.cpp | |
parent | 7f9026a90735e631c5ccdf07ea300f5b7866f6d3 (diff) |
[X86] Add a break to the last case of a few switches to prevent accidents in the future. NFC
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306850 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r-- | lib/Basic/Targets.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index c8326ab273..52646ae83b 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -3545,6 +3545,7 @@ void X86TargetInfo::setSSELevel(llvm::StringMap<bool> &Features, Features["avx512pf"] = Features["avx512dq"] = Features["avx512bw"] = Features["avx512vl"] = Features["avx512vbmi"] = Features["avx512ifma"] = Features["avx512vpopcntdq"] = false; + break; } } @@ -3577,6 +3578,7 @@ void X86TargetInfo::setMMXLevel(llvm::StringMap<bool> &Features, LLVM_FALLTHROUGH; case AMD3DNowAthlon: Features["3dnowa"] = false; + break; } } @@ -3611,6 +3613,7 @@ void X86TargetInfo::setXOPLevel(llvm::StringMap<bool> &Features, XOPEnum Level, LLVM_FALLTHROUGH; case XOP: Features["xop"] = false; + break; } } @@ -4180,6 +4183,7 @@ void X86TargetInfo::getTargetDefines(const LangOptions &Opts, break; default: Builder.defineMacro("_M_IX86_FP", Twine(0)); + break; } } |