Owen Anderson
|
c725462245
|
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.
llvm-svn: 112994
|
2010-09-03 19:08:37 +00:00 |
Owen Anderson
|
048efbe225
|
Only try to clean up the current block if we changed that block already.
llvm-svn: 112625
|
2010-08-31 18:55:52 +00:00 |
Owen Anderson
|
ce401be792
|
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.
llvm-svn: 112594
|
2010-08-31 07:55:56 +00:00 |
Owen Anderson
|
48d58ad64c
|
Rename ValuePropagation to a more descriptive CorrelatedValuePropagation.
llvm-svn: 112591
|
2010-08-31 07:48:34 +00:00 |
Owen Anderson
|
d2918a07bd
|
Rename file to something more descriptive.
llvm-svn: 112590
|
2010-08-31 07:41:39 +00:00 |