diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-12-03 07:48:08 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-12-03 07:48:08 +0000 |
| commit | 595c7279bd9f5c570856bb5dc2c1cc6fc56c91e4 (patch) | |
| tree | a1ab11fdc91cbcedfd535bf600fcdbf5c92e5320 /llvm/lib/Linker/LinkItems.cpp | |
| parent | 37e0136fef68712e6757f460529f1dec7e768fe0 (diff) | |
| download | bcm5719-llvm-595c7279bd9f5c570856bb5dc2c1cc6fc56c91e4.tar.gz bcm5719-llvm-595c7279bd9f5c570856bb5dc2c1cc6fc56c91e4.zip | |
Teach jump threading some more simple tricks:
1) have it fold "br undef", which does occur with
surprising frequency as jump threading iterates.
2) teach j-t to delete dead blocks. This removes the successor
edges, reducing the in-edges of other blocks, allowing
recursive simplification.
3) Fold things like:
br COND, BBX, BBY
BBX:
br COND, BBZ, BBW
which also happens because jump threading iterates.
llvm-svn: 60470
Diffstat (limited to 'llvm/lib/Linker/LinkItems.cpp')
0 files changed, 0 insertions, 0 deletions

