#
2922641a |
| 03-Mar-2010 |
Evan Cheng <evan.cheng@apple.com> |
Fix a logic error. An instruction that has a live physical register def cannot be CSE'ed, but it *can* be used to replace a common subexpression.
llvm-svn: 97688
|
#
0abbb399 |
| 03-Mar-2010 |
Evan Cheng <evan.cheng@apple.com> |
Re-apply r97667 but with a little bit of thought put into the patch. This implements a special DenseMapInfo trait for DenseMap<MachineInstr*> that compare the value of the MachineInstr rather than th
Re-apply r97667 but with a little bit of thought put into the patch. This implements a special DenseMapInfo trait for DenseMap<MachineInstr*> that compare the value of the MachineInstr rather than the pointer value. Since the hashing and equality test functions ignore defs it's useful for doing CSE kind optimization.
llvm-svn: 97678
show more ...
|
#
a791914e |
| 03-Mar-2010 |
Dan Gohman <gohman@apple.com> |
Revert 97667. It broke a bunch of tests.
llvm-svn: 97673
|
#
0dd0c47b |
| 03-Mar-2010 |
Evan Cheng <evan.cheng@apple.com> |
Move DenseMapInfo for MachineInstr* to MachineInstr.h
llvm-svn: 97667
|
#
b386cd38 |
| 03-Mar-2010 |
Evan Cheng <evan.cheng@apple.com> |
Machine CSE work in progress. It's doing some CSE now. But implicit def of physical registers are getting in the way.
llvm-svn: 97664
|
#
4eab008b |
| 03-Mar-2010 |
Evan Cheng <evan.cheng@apple.com> |
Work in progress. Finding some cse now.
llvm-svn: 97635
|
#
10194a42 |
| 02-Mar-2010 |
Evan Cheng <evan.cheng@apple.com> |
Fix typo.
llvm-svn: 97577
|
#
036aa49d |
| 02-Mar-2010 |
Evan Cheng <evan.cheng@apple.com> |
Add skeleton of a machine level cse pass.
llvm-svn: 97543
|