Fix for r180193 - MI Sched: eliminate local vreg.
authorAndrew Trick <atrick@apple.com>
Wed, 24 Apr 2013 23:19:56 +0000 (23:19 +0000)
committerAndrew Trick <atrick@apple.com>
Wed, 24 Apr 2013 23:19:56 +0000 (23:19 +0000)
commita264a20277a4699cdc44092767228b76234016d9
tree1925fbf794f28bf93ab7fd000a9947410cbad09d
parent2871ba90a3d3544fa1f136c7d4efbb619298d6e8
Fix for r180193 - MI Sched: eliminate local vreg.

Fixes PR15838. Need to check for blocks with nothing but dbg.value.

I'm not sure how to force this situation with a unit test. I tried to
reduce the test case in PR15838 (1k lines of metadata) but gave up.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180227 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineScheduler.cpp