summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclFriend.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-07-04 19:28:31 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-07-04 19:28:31 +0000
commit2dee812445a7ba4b5cf34e4e2b6d4aa4243fbfd2 (patch)
treee69d2b45622cdda887cb8e44f9ccd86ba626d0b2 /clang/lib/AST/DeclFriend.cpp
parent29506f5e6da0316e598da917c36d47c50568a6af (diff)
downloadbcm5719-llvm-2dee812445a7ba4b5cf34e4e2b6d4aa4243fbfd2.tar.gz
bcm5719-llvm-2dee812445a7ba4b5cf34e4e2b6d4aa4243fbfd2.zip
Ensure CopyToReg nodes are always glued to the call instruction.
The CopyToReg nodes that set up the argument registers before a call must be glued to the call instruction. Otherwise, the scheduler may emit the physreg copies long before the call, causing long live ranges for the fixed registers. Besides disabling good register allocation, that can also expose problems when EmitInstrWithCustomInserter() splits a basic block during the live range of a physreg. llvm-svn: 159721
Diffstat (limited to 'clang/lib/AST/DeclFriend.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud