Evan Cheng
|
36a7a94029
|
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
|
2010-03-03 23:27:36 +00:00 |
|
Dan Gohman
|
fe6b41169a
|
Revert 97667. It broke a bunch of tests.
llvm-svn: 97673
|
2010-03-03 22:40:03 +00:00 |
|
Evan Cheng
|
338c7aed4c
|
Move DenseMapInfo for MachineInstr* to MachineInstr.h
llvm-svn: 97667
|
2010-03-03 21:47:16 +00:00 |
|
Evan Cheng
|
918ac5d21f
|
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
|
2010-03-03 21:20:05 +00:00 |
|
Evan Cheng
|
13f096bf0a
|
Work in progress. Finding some cse now.
llvm-svn: 97635
|
2010-03-03 02:48:20 +00:00 |
|
Evan Cheng
|
e335555959
|
Fix typo.
llvm-svn: 97577
|
2010-03-02 19:02:27 +00:00 |
|
Evan Cheng
|
291c815b10
|
Add skeleton of a machine level cse pass.
llvm-svn: 97543
|
2010-03-02 02:38:24 +00:00 |
|