aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/BreakCriticalEdges.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-02-13 02:06:10 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-02-13 02:06:10 +0000
commitd135f14f614ff0272b4653877abe09a2914a0227 (patch)
treef66367285040e50707fe44f64ab3294b93813360 /lib/Transforms/Utils/BreakCriticalEdges.cpp
parent9214b82c5446791b280821bbd892dca633130f80 (diff)
Fix PR6283.
When coalescing with a physreg, remember to add imp-def and imp-kill when dealing with sub-registers. Also fix a related bug in VirtRegRewriter where substitutePhysReg may reallocate the operand list on an instruction and invalidate the reg_iterator. This can happen when a register is mentioned twice on the same instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96072 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/BreakCriticalEdges.cpp')
0 files changed, 0 insertions, 0 deletions