summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocLocal.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-10 01:14:28 +0000
committerChris Lattner <sabre@nondot.org>2006-06-10 01:14:28 +0000
commit006b2c6ab9173940fa59ab50b6224452c0ef388a (patch)
treeae80ed82739c0dcea12ad8aadee09366a2a36e01 /llvm/lib/CodeGen/RegAllocLocal.cpp
parentdeafba032593c2012f097124fe97d0a08b5f6f96 (diff)
downloadbcm5719-llvm-006b2c6ab9173940fa59ab50b6224452c0ef388a.tar.gz
bcm5719-llvm-006b2c6ab9173940fa59ab50b6224452c0ef388a.zip
Fix a problem exposed by the local allocator. CALL instructions are not marked
as using incoming argument registers, so the local allocator would clobber them between their set and use. To fix this, we give the call instructions a variable number of uses in the CALL MachineInstr itself, so live variables understands the live ranges of these register arguments. llvm-svn: 28744
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLocal.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud