Reapply 53476 and 53480, with a fix so that it properly updates
authorDan Gohman <gohman@apple.com>
Mon, 14 Jul 2008 18:19:29 +0000 (18:19 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 14 Jul 2008 18:19:29 +0000 (18:19 +0000)
commit5e84368b26415b3bb7f3f8d9cff3e05938dd82d0
treefcaebec3993c08eb5c03d062e330b6397cedd582
parent3fea643fb427e72907b7a40e940d7949d1d57e76
Reapply 53476 and 53480, with a fix so that it properly updates
the BB member to the current basic block after emitting
instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53567 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/ScheduleDAG.h
include/llvm/CodeGen/SelectionDAGISel.h
include/llvm/Support/Timer.h
lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/Support/Timer.cpp