| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
bidirectional approach. Add transforms for more instructions.
llvm-svn: 1121
|
| |
|
|
| |
llvm-svn: 1119
|
| |
|
|
| |
llvm-svn: 1118
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Implement new peephole:
// Peephole optimize the following instructions:
// %t1 = cast {<...>} * %StructPtr to <ty> *
//
// Into: %t2 = getelementptr {<...>} * %StructPtr, <0, 0, 0, ...>
// %t1 = cast <eltype> * %t1 to <ty> *
This peephole eliminated 9 evil casts in the health benchmark, and
completely turned the addList method around. :)
llvm-svn: 1085
|
| |
|
|
|
|
| |
instructions that are dead
llvm-svn: 1084
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix a problem setting a name on a constant value that died because no symbol table was passed in
* Add some comments describing the passes
* Implement a new peephole:
// Peephole optimize the following instructions:
// %t = cast <T1>* %P to <T2> * ;; If T1 is losslessly convertable to T2
// store <T2> %V, <T2>* %t
//
// Into:
// %t = cast <T2> %V to <T1>
// store <T1> %t2, <T1>* %P
llvm-svn: 1080
|
| |
|
|
|
|
| |
* Convert getelementptr/load pairs into a single load
llvm-svn: 1075
|
|
|
from the opt directory
llvm-svn: 1074
|