In FastISel mode, the scheduler may be invoked multiple times
authorDan Gohman <gohman@apple.com>
Fri, 5 Sep 2008 01:07:48 +0000 (01:07 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 5 Sep 2008 01:07:48 +0000 (01:07 +0000)
commitc7f4a8a80cb7e8cf09495f4b60ae45734e7d5d98
tree83742c1480ef1800ca10194695e19cc962ed229a
parentd89ae99ec81f4806fe02b54c7dbe706a1f49ddab
In FastISel mode, the scheduler may be invoked multiple times
in the same block. Fix the entry-block handling to only run at
at the beginning of the entry block, and not any other times.

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