diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-02-13 03:01:43 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-02-13 03:01:43 +0000 |
commit | 1446726f3eb2e247a539098159bf6cd7750a0cb5 (patch) | |
tree | fc7b7d6d872875cbe4ee0ed03abdac799f19990d /llvm/lib/System/DynamicLibrary.cpp | |
parent | 87abe955fcd3ec42feb0c5b790ba5016f4e60a77 (diff) | |
download | llvm-1446726f3eb2e247a539098159bf6cd7750a0cb5.zip llvm-1446726f3eb2e247a539098159bf6cd7750a0cb5.tar.gz llvm-1446726f3eb2e247a539098159bf6cd7750a0cb5.tar.bz2 |
Initial support for copy elimination by commuting its definition MI.
PR1877.
A3 = op A2 B0<kill>
...
B1 = A3 <- this copy
...
= op A3 <- more uses
==>
B2 = op B0 A2<kill>
...
B1 = B2 <- now an identify copy
...
= op B2 <- more uses
This speeds up FreeBench/neural by 29%, Olden/bh by 12%, oopack_v1p8 by 53%.
llvm-svn: 47046
Diffstat (limited to 'llvm/lib/System/DynamicLibrary.cpp')
0 files changed, 0 insertions, 0 deletions