summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/Spiller.h
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2014-03-21 21:46:24 +0000
committerManman Ren <manman.ren@gmail.com>2014-03-21 21:46:24 +0000
commitc9355605683d316add3a5d5f530bada1e7642562 (patch)
tree10da31091858e1afd3ae30ecde1204199634bdbb /llvm/lib/CodeGen/Spiller.h
parent089b5c91740802a966ccd5fb6da9aa28e1e92a77 (diff)
downloadbcm5719-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/Spiller.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud