Skip to content
  • Evan Cheng's avatar
    - Add a hook for target to determine whether an instruction def is · 8249dfe6
    Evan Cheng authored
      "long latency" enough to hoist even if it may increase spilling. Reloading
      a value from spill slot is often cheaper than performing an expensive
      computation in the loop. For X86, that means machine LICM will hoist
      SQRT, DIV, etc. ARM will be somewhat aggressive with VFP and NEON
      instructions.
    - Enable register pressure aware machine LICM by default.
    
    llvm-svn: 116781
    8249dfe6
Loading