[llvm-commits] CVS: llvm/tools/gccld/GenerateCode.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Aug 2 03:10:18 PDT 2004
Changes in directory llvm/tools/gccld:
GenerateCode.cpp updated: 1.30 -> 1.31
---
Log message:
This pass has proven its metal, remove -disable option.
---
Diffs of the changes: (+1 -5)
Index: llvm/tools/gccld/GenerateCode.cpp
diff -u llvm/tools/gccld/GenerateCode.cpp:1.30 llvm/tools/gccld/GenerateCode.cpp:1.31
--- llvm/tools/gccld/GenerateCode.cpp:1.30 Tue Jul 27 03:13:15 2004
+++ llvm/tools/gccld/GenerateCode.cpp Mon Aug 2 05:10:08 2004
@@ -38,9 +38,6 @@
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 @@
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
More information about the llvm-commits
mailing list