summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-08-07 21:23:52 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-08-07 21:23:52 +0000
commit57d708b122d6fccaf2d5f8a4544f23ec1ad3060c (patch)
tree328274c4b3b704359637000d2349cf36cbf3dc0f /tools
parente49603d79d220a795bd50684c8b1f503ee40f97f (diff)
downloadllvm-57d708b122d6fccaf2d5f8a4544f23ec1ad3060c.tar.gz
llvm-57d708b122d6fccaf2d5f8a4544f23ec1ad3060c.tar.bz2
llvm-57d708b122d6fccaf2d5f8a4544f23ec1ad3060c.tar.xz
* The possessive third-person singular has no apostrophe (its)
* Grouped header files to fit with the LLVM standard * Fit code into 80 columns git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7690 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/gccas/gccas.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp
index 19182a9d51..70fe370740 100644
--- a/tools/gccas/gccas.cpp
+++ b/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