Chris Lattner
|
d38c14e6ed
|
refactor some code, no functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50094 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-04-22 06:36:15 +00:00 |
|
Chris Lattner
|
037c781de7
|
fix grammar-o, thanks to Duncan for noticing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50047 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-04-21 18:25:01 +00:00 |
|
Chris Lattner
|
2cc675180b
|
Use the new SplitBlockPredecessors to implement a todo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50022 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-04-21 02:57:57 +00:00 |
|
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 |
|