Owen Anderson
|
ceb9a95957
|
Use a depth-first iteratation in CorrelatedValuePropagation to avoid wasting time trying
to optimize unreachable blocks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114105 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-09-16 18:35:07 +00:00 |
|
Owen Anderson
|
597dad35b8
|
Propagate non-local comparisons. Fixes PR1757.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113025 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-09-03 22:47:08 +00:00 |
|
Owen Anderson
|
1593dd6779
|
Add support for simplifying a load from a computed value to a load from a global when it
is provable that they're equivalent. This fixes PR4855.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112994 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-09-03 19:08:37 +00:00 |
|
Owen Anderson
|
869a144f4e
|
Only try to clean up the current block if we changed that block already.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112625 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-08-31 18:55:52 +00:00 |
|
Owen Anderson
|
7c37f6d2d9
|
Don't perform an extra traversal of the function just to do cleanup. We can safely simplify instructions after each block has been processed without worrying about iterator invalidation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112594 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-08-31 07:55:56 +00:00 |
|
Owen Anderson
|
25e9405272
|
Rename ValuePropagation to a more descriptive CorrelatedValuePropagation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112591 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-08-31 07:48:34 +00:00 |
|
Owen Anderson
|
7aff1cd038
|
Rename file to something more descriptive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112590 91177308-0d34-0410-b5e6-96231b3b80d8
|
2010-08-31 07:41:39 +00:00 |
|