Skip to content
Snippets Groups Projects
  • Chris Lattner's avatar
    Add code that checks for noop copies, which triggers when either: · 1ef239af
    Chris Lattner authored
    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
    1ef239af