diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-08-07 21:23:52 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-08-07 21:23:52 +0000 |
commit | 250bf3674c2785f55dcdb226740d3418eefa0936 (patch) | |
tree | 9b036594eeb28ed97614b5228b413b8e1736a1b5 /llvm/tools/gccas | |
parent | 0c2305b1107b60600e08a66bba932396ee752b5b (diff) | |
download | bcm5719-llvm-250bf3674c2785f55dcdb226740d3418eefa0936.tar.gz bcm5719-llvm-250bf3674c2785f55dcdb226740d3418eefa0936.zip |
* The possessive third-person singular has no apostrophe (its)
* Grouped header files to fit with the LLVM standard
* Fit code into 80 columns
llvm-svn: 7690
Diffstat (limited to 'llvm/tools/gccas')
-rw-r--r-- | llvm/tools/gccas/gccas.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/llvm/tools/gccas/gccas.cpp b/llvm/tools/gccas/gccas.cpp index 19182a9d519..70fe370740a 100644 --- a/llvm/tools/gccas/gccas.cpp +++ b/llvm/tools/gccas/gccas.cpp @@ -1,22 +1,22 @@ //===----------------------------------------------------------------------===// // LLVM 'GCCAS' UTILITY // -// This utility is designed to be used by the GCC frontend for creating -// bytecode files from it's intermediate llvm assembly. The requirements for -// this utility are thus slightly different than that of the standard as util. +// This utility is designed to be used by the GCC frontend for creating bytecode +// files from its intermediate LLVM assembly. The requirements for this utility +// are thus slightly different than that of the standard `as' util. // //===----------------------------------------------------------------------===// #include "llvm/Module.h" #include "llvm/PassManager.h" -#include "llvm/Assembly/Parser.h" -#include "llvm/Transforms/RaisePointerReferences.h" -#include "llvm/Transforms/IPO.h" -#include "llvm/Transforms/Scalar.h" #include "llvm/Analysis/LoadValueNumbering.h" #include "llvm/Analysis/Verifier.h" +#include "llvm/Assembly/Parser.h" #include "llvm/Bytecode/WriteBytecodePass.h" #include "llvm/Target/TargetData.h" +#include "llvm/Transforms/RaisePointerReferences.h" +#include "llvm/Transforms/IPO.h" +#include "llvm/Transforms/Scalar.h" #include "Support/CommandLine.h" #include "Support/Signals.h" #include <memory> @@ -75,7 +75,8 @@ void AddConfiguredTransformationPasses(PassManager &PM) { addPass(PM, createPromoteMemoryToRegister()); // Promote alloca's to regs addPass(PM, createIndVarSimplifyPass()); // Simplify indvars addPass(PM, createReassociatePass()); // Reassociate expressions - //addPass(PM, createCorrelatedExpressionEliminationPass());// Kill corr branches + // Kill corr branches + //addPass(PM, createCorrelatedExpressionEliminationPass()); addPass(PM, createInstructionCombiningPass()); // Combine silly seq's addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs addPass(PM, createLICMPass()); // Hoist loop invariants |