aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-10-19 00:55:07 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-10-19 00:55:07 +0000
commit8249dfe6ced136a7143a805ed84af74ab4747010 (patch)
tree03c54b2774d78acaade03ae15d0ac0e274a04897 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parenta8807f93b715647b50fc0b85b3956abb62a2c348 (diff)
downloadllvm-8249dfe6ced136a7143a805ed84af74ab4747010.zip
llvm-8249dfe6ced136a7143a805ed84af74ab4747010.tar.gz
llvm-8249dfe6ced136a7143a805ed84af74ab4747010.tar.bz2
- Add a hook for target to determine whether an instruction def is
"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
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions