Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Restrict machine cse to really trivial coalescing. Leave the heavy lifting ↵ | Evan Cheng | 2010-03-08 | 1 | -0/+3 | |
| | | | | | | to a real coalescer. llvm-svn: 98007 | |||||
* | Don't update physical register def. | Evan Cheng | 2010-03-06 | 1 | -2/+3 | |
| | | | | llvm-svn: 97861 | |||||
* | Avoid cse load instructions unless they are known to be invariant loads. | Evan Cheng | 2010-03-04 | 1 | -10/+36 | |
| | | | | llvm-svn: 97747 | |||||
* | Look ahead a bit to determine if a physical register def that is not marked ↵ | Evan Cheng | 2010-03-04 | 1 | -6/+61 | |
| | | | | | | dead is really alive. This is necessary to catch a lot of common cse opportunities for targets like x86. llvm-svn: 97706 | |||||
* | Fix a logic error. An instruction that has a live physical register def ↵ | Evan Cheng | 2010-03-03 | 1 | -2/+5 | |
| | | | | | | cannot be CSE'ed, but it *can* be used to replace a common subexpression. llvm-svn: 97688 | |||||
* | Re-apply r97667 but with a little bit of thought put into the patch. This ↵ | Evan Cheng | 2010-03-03 | 1 | -65/+3 | |
| | | | | | | 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 | |||||
* | Revert 97667. It broke a bunch of tests. | Dan Gohman | 2010-03-03 | 1 | -0/+63 | |
| | | | | llvm-svn: 97673 | |||||
* | Move DenseMapInfo for MachineInstr* to MachineInstr.h | Evan Cheng | 2010-03-03 | 1 | -63/+0 | |
| | | | | llvm-svn: 97667 | |||||
* | Machine CSE work in progress. It's doing some CSE now. But implicit def of ↵ | Evan Cheng | 2010-03-03 | 1 | -24/+61 | |
| | | | | | | physical registers are getting in the way. llvm-svn: 97664 | |||||
* | Work in progress. Finding some cse now. | Evan Cheng | 2010-03-03 | 1 | -4/+88 | |
| | | | | llvm-svn: 97635 | |||||
* | Fix typo. | Evan Cheng | 2010-03-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 97577 | |||||
* | Add skeleton of a machine level cse pass. | Evan Cheng | 2010-03-02 | 1 | -0/+124 | |
llvm-svn: 97543 |