Chris Lattner
|
bd3401fa98
|
finish the first cut of a jump threading pass implementation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50006 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-04-20 22:39:42 +00:00 |
|
Chris Lattner
|
f9065a904f
|
we can only thread blocks when there is a pred we can determine the succ of.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50003 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-04-20 21:18:09 +00:00 |
|
Chris Lattner
|
177480b7ed
|
improve comments, infrastructure, and add some validity checks for threading.
Add a cost function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50002 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-04-20 21:13:06 +00:00 |
|
Chris Lattner
|
8383a7b7a6
|
Add a new Jump Threading pass, which will handle cases
such as those in PR2235. Right now the pass is not very
effective. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50000 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-04-20 20:35:01 +00:00 |
|