summaryrefslogtreecommitdiff
path: root/tools/driver/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/driver/Main.cpp')
-rw-r--r--tools/driver/Main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/driver/Main.cpp b/tools/driver/Main.cpp
index 5031daf2cc..ac74ca55db 100644
--- a/tools/driver/Main.cpp
+++ b/tools/driver/Main.cpp
@@ -239,7 +239,7 @@ static bool EmitFile(llvm::raw_ostream &Out,
PassManager PM;
- Target.setAsmVerbosityDefault(true);
+ //Target.setAsmVerbosityDefault(true);
//Target.setMCRelaxAll(true);
llvm::formatted_raw_ostream FOS(Out);
@@ -384,7 +384,7 @@ static bool ParseFile(const std::string &Filename,
auto TheModule = CG->GetModule();
auto PM = new PassManager();
PM->add(new DataLayoutPass());
- TM->addAnalysisPasses(*PM);
+ //TM->addAnalysisPasses(*PM);
PM->add(createPromoteMemoryToRegisterPass());
PassManagerBuilder PMBuilder;