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:
76ae344
)
Simplify CFG after code generation is done
author
Chris Lattner
<sabre@nondot.org>
Tue, 21 May 2002 20:05:08 +0000
(20:05 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 21 May 2002 20:05:08 +0000
(20:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2698
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 1a0067e296ea53c6922c36aaef48290e454b2bb8..d4c63092620d843cd3ae67fcef01efc478c6ad4d 100644
(file)
--- a/
tools/gccas/gccas.cpp
+++ b/
tools/gccas/gccas.cpp
@@
-88,6
+88,7
@@
int main(int argc, char **argv) {
// opened up by them.
Passes.add(createInstructionCombiningPass());
Passes.add(createDeadCodeEliminationPass()); // Remove Dead code/vars
+ Passes.add(createCFGSimplificationPass()); // Merge & remove BBs
}
Passes.add(new WriteBytecodePass(&Out)); // Write bytecode to file...