Use the correct Preds and Succs lists in setHeightDirty()
authorDan Gohman <gohman@apple.com>
Sat, 20 Dec 2008 16:34:57 +0000 (16:34 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 20 Dec 2008 16:34:57 +0000 (16:34 +0000)
commitf89e6e65770edccd8cc3baf2314b89ba894ffa4f
treed23072ca959a4e97ed3a6612856e88cf568fb21c
parentb8fd41985ffd0f87fc2bbf488ae472c188ee5853
Use the correct Preds and Succs lists in setHeightDirty()
and setDepthDirty(), respectively. This fixes PR3241.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61276 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ScheduleDAG.cpp
test/CodeGen/X86/fold-pcmpeqd-0.ll
test/CodeGen/X86/pr3241.ll [new file with mode: 0644]