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 | 1118d25d3971bc4fce9715c8c83ea7a197bf2eff (patch) | |
tree | ffee8224cc880f67b628b6c050cf91561bb59807 /lib/CodeGen/MachineFunction.cpp | |
parent | d463f7f698f98333cfa4358db203fb8106bf1e2f (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25922 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions