projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
557a143
)
Run expression reassociation as part of gccas
author
Chris Lattner
<sabre@nondot.org>
Wed, 8 May 2002 22:18:20 +0000
(22:18 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 8 May 2002 22:18:20 +0000
(22:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2556
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/gccas/gccas.cpp
patch
|
blob
|
history
diff --git
a/tools/gccas/gccas.cpp
b/tools/gccas/gccas.cpp
index 59c12713fb5186d83760896ffd8533f770413ab7..cd4ccd2de5032c1b82a14155f391c8fb9efd602e 100644
(file)
--- a/
tools/gccas/gccas.cpp
+++ b/
tools/gccas/gccas.cpp
@@
-77,6
+77,7
@@
int main(int argc, char **argv) {
if (!StopAtLevelRaise) {
Passes.add(createRaisePointerReferencesPass()); // Eliminate casts
Passes.add(createPromoteMemoryToRegister()); // Promote alloca's to regs
+ Passes.add(createReassociatePass()); // Reassociate expressions
Passes.add(createInstructionCombiningPass()); // Combine silly seq's
Passes.add(createDeadInstEliminationPass()); // Kill InstCombine remnants
Passes.add(createGCSEPass()); // Remove common subexprs