Fix a miscompile in 186.crafty for Thumb2 that was exposed by Evan's
authorBob Wilson <bob.wilson@apple.com>
Sat, 2 Oct 2010 01:49:29 +0000 (01:49 +0000)
committerBob Wilson <bob.wilson@apple.com>
Sat, 2 Oct 2010 01:49:29 +0000 (01:49 +0000)
commitf70007e89e7b252abc9dc175aab92191c09bebf7
tree0ae7329763da0ee803b70225edd579bfabc847d1
parentd0669493b8d42544a94bddcd94d635e0701f6415
Fix a miscompile in 186.crafty for Thumb2 that was exposed by Evan's
scheduling change in svn 115121.  The CriticalAntiDepBreaker had bad
liveness information.  It was calculating the KillIndices for one scheduling
region in a basic block, rescheduling that region so the KillIndices were
no longer valid, and then using those wrong KillIndices to make decisions
for the next scheduling region.  I've not been able to reduce a small
testcase for this.  Radar 8502534.

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