aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveInterval.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
commitb8720787015dc73d8a050b063366be6c3ad01946 (patch)
tree3d4a03ae7359619d56d097bf1644726d6735479e /lib/CodeGen/LiveInterval.cpp
parentf86c00f1f89082c800dbb78870fc5537eb3702f6 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveInterval.cpp')
0 files changed, 0 insertions, 0 deletions