Skip to content
  • Evan Cheng's avatar
    Two sets of changes. Sorry they are intermingled. · debf9c50
    Evan Cheng authored
    1. Fix pre-ra scheduler so it doesn't try to push instructions above calls to
       "optimize for latency". Call instructions don't have the right latency and
       this is more likely to use introduce spills.
    2. Fix if-converter cost function. For ARM, it should use instruction latencies,
       not # of micro-ops since multi-latency instructions is completely executed
       even when the predicate is false. Also, some instruction will be "slower"
       when they are predicated due to the register def becoming implicit input.
       rdar://8598427
    
    llvm-svn: 118135
    debf9c50
Loading