Commit b50f0604 authored by Jaikrishnan Menon's avatar Jaikrishnan Menon

CPU: clang-format fixes

parent 0f0219c8
...@@ -160,7 +160,7 @@ std::unique_ptr<llvm::Module> execution_state::compile(const string& source, con ...@@ -160,7 +160,7 @@ std::unique_ptr<llvm::Module> execution_state::compile(const string& source, con
// Enable various target features // Enable various target features
// Most of these are for Eigen // Most of these are for Eigen
auto &TO = Clang->getInvocation().getTargetOpts(); auto& TO = Clang->getInvocation().getTargetOpts();
TO.FeaturesAsWritten.emplace_back("+sse4.1"); TO.FeaturesAsWritten.emplace_back("+sse4.1");
TO.FeaturesAsWritten.emplace_back("+sse4.2"); TO.FeaturesAsWritten.emplace_back("+sse4.2");
TO.FeaturesAsWritten.emplace_back("+avx"); TO.FeaturesAsWritten.emplace_back("+avx");
......
...@@ -48,7 +48,6 @@ public: ...@@ -48,7 +48,6 @@ public:
bool is_precompiled_headers_enabled() { return precompiled_headers_enabled; } bool is_precompiled_headers_enabled() { return precompiled_headers_enabled; }
void set_debuginfo_enabled(bool state) { debuginfo_enabled = state; } void set_debuginfo_enabled(bool state) { debuginfo_enabled = state; }
bool is_debuginfo_enabled() { return debuginfo_enabled; } bool is_debuginfo_enabled() { return debuginfo_enabled; }
std::unique_ptr<llvm::Module> compile(const std::string& source, const std::string& name = ""); std::unique_ptr<llvm::Module> compile(const std::string& source, const std::string& name = "");
bool add_module(std::unique_ptr<llvm::Module>&); bool add_module(std::unique_ptr<llvm::Module>&);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment