summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGObjCRuntime.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-08-18 19:47:59 +0000
committerMatthias Braun <matze@braunis.de>2016-08-18 19:47:59 +0000
commit075d0c23d5885d926a3497bd3504df1d81f04270 (patch)
tree04a1d26fe9e2675ee3ea0f58e51e823ab8ba7cf4 /clang/lib/CodeGen/CGObjCRuntime.cpp
parent85d0f3140a0714818093089da991776f115dfa0e (diff)
downloadbcm5719-llvm-075d0c23d5885d926a3497bd3504df1d81f04270.tar.gz
bcm5719-llvm-075d0c23d5885d926a3497bd3504df1d81f04270.zip
RegScavenging: Add scavengeRegisterBackwards()
Re-apply r276044 with off-by-1 instruction fix for the reload placement. This is a variant of scavengeRegister() that works for enterBasicBlockEnd()/backward(). The benefit of the backward mode is that it is not affected by incomplete kill flags. This patch also changes PrologEpilogInserter::doScavengeFrameVirtualRegs() to use the register scavenger in backwards mode. Differential Revision: http://reviews.llvm.org/D21885 llvm-svn: 279124
Diffstat (limited to 'clang/lib/CodeGen/CGObjCRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud