diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-02-03 02:02:59 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-02-03 02:02:59 +0000 |
| commit | 1ef239afb475114dbdf1dda0899b24527d9b0552 (patch) | |
| tree | 9b24847ea40487e73eb65f336edd2da871c4f897 /llvm/lib/CodeGen/MachineCodeEmitter.cpp | |
| parent | f0a2d66d1c2f4c2216a10baf38ff3d3f9a1452de (diff) | |
| download | bcm5719-llvm-1ef239afb475114dbdf1dda0899b24527d9b0552.tar.gz bcm5719-llvm-1ef239afb475114dbdf1dda0899b24527d9b0552.zip | |
Add code that checks for noop copies, which triggers when either:
1. a target doesn't know how to fold load/stores into copies, or
2. the spiller rewrites the input to a copy to the same register as the dest
instead of to the reloaded reg.
This will be moved/improved in the near future, but allows elimination of
some ancient x86 hacks. This eliminates 92 copies from SMG2000 on X86 and
163 copies from 252.eon.
llvm-svn: 25922
Diffstat (limited to 'llvm/lib/CodeGen/MachineCodeEmitter.cpp')
0 files changed, 0 insertions, 0 deletions

