diff options
author | Manman Ren <manman.ren@gmail.com> | 2014-03-21 21:46:24 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2014-03-21 21:46:24 +0000 |
commit | c9355605683d316add3a5d5f530bada1e7642562 (patch) | |
tree | 10da31091858e1afd3ae30ecde1204199634bdbb /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 089b5c91740802a966ccd5fb6da9aa28e1e92a77 (diff) | |
download | bcm5719-llvm-c9355605683d316add3a5d5f530bada1e7642562.tar.gz bcm5719-llvm-c9355605683d316add3a5d5f530bada1e7642562.zip |
Register allocator: add condition to hoist a spill to outer loop.
We make sure a spill is not hoisted to a hotter outer loop by adding
a condition. Hoist a spill to outer loop if there are multiple dependents
(it can be beneficial if more than one dependents are hoisted) or
if DepSV (the hoisting source) is hotter than SV (the hoisting destination).
rdar://16268194
llvm-svn: 204522
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions