Turn off Atom code generation for bcc_compat.
Bug: 15343872
Change-Id: Ibd29f75ecf42835085089dc7f4a0c29c0812eebd
diff --git a/tools/bcc_compat/Main.cpp b/tools/bcc_compat/Main.cpp
index 914a9e5..401299c 100644
--- a/tools/bcc_compat/Main.cpp
+++ b/tools/bcc_compat/Main.cpp
@@ -177,10 +177,15 @@
fv.push_back("-neonfp");
config->setFeatureString(fv);
}
+
+ // FIXME: Atom code generation in LLVM 3.5 seems broken.
+ // Bug: 15343872
+#if 0
// Compatibility mode on x86 requires atom code generation.
if (config->getTriple().find("i686") != std::string::npos) {
config->setCPU("atom");
}
+#endif
// Setup the config according to the value of command line option.
if (OptPIC) {