summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/OptimizerDriver.cpp
diff options
context:
space:
mode:
authorArnold Schwaighofer <arnold.schwaighofer@gmail.com>2008-02-26 09:19:59 +0000
committerArnold Schwaighofer <arnold.schwaighofer@gmail.com>2008-02-26 09:19:59 +0000
commitb01b99ec78da7ce6bb4d499378abbd899ac77a4e (patch)
tree3611af49a913ae4a41289eaf0b91b53cc18381cd /llvm/tools/bugpoint/OptimizerDriver.cpp
parent2ff0b0e6812e10538b974263b3b972bda184904f (diff)
downloadbcm5719-llvm-b01b99ec78da7ce6bb4d499378abbd899ac77a4e.tar.gz
bcm5719-llvm-b01b99ec78da7ce6bb4d499378abbd899ac77a4e.zip
Change the lowering of arguments for tail call optimized
calls. Before arguments that could overwrite each other were explicitly lowered to a stack slot, not giving the register allocator a chance to optimize. Now a sequence of copyto/copyfrom virtual registers ensures that arguments are loaded in (virtual) registers before they are lowered to the stack slot (and might overwrite each other). Also parameter stack slots are marked mutable for (potentially) tail calling functions. llvm-svn: 47593
Diffstat (limited to 'llvm/tools/bugpoint/OptimizerDriver.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud