diff options
author | Chris Lattner <sabre@nondot.org> | 2004-08-02 10:10:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-08-02 10:10:08 +0000 |
commit | ac44389c8316d6a349690394cf88dc4f01789475 (patch) | |
tree | daf78047c111051956047fac706abc8f87b280ce /llvm/tools/gccld/GenerateCode.cpp | |
parent | 7aa2d4747a5237e47511f9e35c12356c4f40445d (diff) | |
download | bcm5719-llvm-ac44389c8316d6a349690394cf88dc4f01789475.tar.gz bcm5719-llvm-ac44389c8316d6a349690394cf88dc4f01789475.zip |
This pass has proven its metal, remove -disable option.
llvm-svn: 15411
Diffstat (limited to 'llvm/tools/gccld/GenerateCode.cpp')
-rw-r--r-- | llvm/tools/gccld/GenerateCode.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/tools/gccld/GenerateCode.cpp b/llvm/tools/gccld/GenerateCode.cpp index 74576bb1ba3..029d5b90fdc 100644 --- a/llvm/tools/gccld/GenerateCode.cpp +++ b/llvm/tools/gccld/GenerateCode.cpp @@ -38,9 +38,6 @@ namespace { cl::opt<bool> DisableOptimizations("disable-opt", cl::desc("Do not run any optimization passes")); - cl::opt<bool> - DisableGlobalsModRef("disable-globalsmodref", cl::Hidden, - cl::desc("Turn on the more aggressive alias analysis")); } /// CopyEnv - This function takes an array of environment variables and makes a @@ -200,8 +197,7 @@ int llvm::GenerateBytecode(Module *M, bool Strip, bool Internalize, addPass(Passes, createScalarReplAggregatesPass()); // Break up allocas // Run a few AA driven optimizations here and now, to cleanup the code. - if (!DisableGlobalsModRef) - addPass(Passes, createGlobalsModRefPass()); // IP alias analysis + addPass(Passes, createGlobalsModRefPass()); // IP alias analysis addPass(Passes, createLICMPass()); // Hoist loop invariants addPass(Passes, createLoadValueNumberingPass()); // GVN for load instrs |