[cfe-commits] r168618 - /cfe/trunk/lib/Basic/Targets.cpp
Eli Friedman
eli.friedman at gmail.com
Mon Nov 26 13:57:28 PST 2012
Author: efriedma
Date: Mon Nov 26 15:57:28 2012
New Revision: 168618
URL: http://llvm.org/viewvc/llvm-project?rev=168618&view=rev
Log:
Add missing "break". Thanks to Craig for spotting it.
I'm looking at ways to fix the relevant test so it can catch this sort of mistake.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=168618&r1=168617&r2=168618&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Mon Nov 26 15:57:28 2012
@@ -1960,6 +1960,7 @@
setFeatureEnabled(Features, "lzcnt", true);
setFeatureEnabled(Features, "aes", true);
setFeatureEnabled(Features, "pclmul", true);
+ break;
case CK_BDVER2:
setFeatureEnabled(Features, "xop", true);
setFeatureEnabled(Features, "lzcnt", true);
More information about the cfe-commits
mailing list