misched: fix RegionBegin when DebugValues get shuffled to the top.
authorAndrew Trick <atrick@apple.com>
Sat, 1 Dec 2012 01:22:38 +0000 (01:22 +0000)
committerAndrew Trick <atrick@apple.com>
Sat, 1 Dec 2012 01:22:38 +0000 (01:22 +0000)
commit67bdd42d1e538ce16e3bed98534d3fff0b4530fc
tree82baba195b49e6dca18843ec88505deb2d0a1442
parent8c3dccde92e50f5be7d14cef2a6db34ea6ae2bc0
misched: fix RegionBegin when DebugValues get shuffled to the top.

assert (RemainingInstrs == 0 && "Instruction count mismatch!")

rdar://12776937.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169069 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineScheduler.cpp
test/CodeGen/X86/2012-11-30-misched-dbg.ll [new file with mode: 0644]