aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/CppBackend/CPPBackend.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-07-02 17:44:57 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-07-02 17:44:57 +0000
commit96037187e504cbafbd5afe3074910ead2fed92d9 (patch)
tree44d816cb626d8fadf76d0b277cdbea25b309937e /llvm/lib/Target/CppBackend/CPPBackend.cpp
parent0be31a2eb7251a8dfda7d2b494d6a3d37cf6e080 (diff)
downloadllvm-96037187e504cbafbd5afe3074910ead2fed92d9.zip
llvm-96037187e504cbafbd5afe3074910ead2fed92d9.tar.gz
llvm-96037187e504cbafbd5afe3074910ead2fed92d9.tar.bz2
Rematerialize as much as possible before inserting spills and reloads.
This allows us to recognize the common case where all uses could be rematerialized, and no stack slot allocation is necessary. If some values could be fully rematerialized, remove them from the live range before allocating a stack slot for the rest. llvm-svn: 107492
Diffstat (limited to 'llvm/lib/Target/CppBackend/CPPBackend.cpp')
0 files changed, 0 insertions, 0 deletions