Insert the debugging instructions in one fell-swoop so that it doesn't call the
authorBill Wendling <isanbard@gmail.com>
Wed, 14 Mar 2012 07:14:25 +0000 (07:14 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 14 Mar 2012 07:14:25 +0000 (07:14 +0000)
commit7bf116acd417e50f6fac677b9cb9204ee7f35c00
tree2184dc44f0b3b5c29beb4fcf2c4f8f29460b3aaa
parent3c88d4a8fb6d39348a1e4a65ca60f5c92571b081
Insert the debugging instructions in one fell-swoop so that it doesn't call the
expensive "getFirstTerminator" call. This reduces the time of compilation in
PR12258 from >10 minutes to < 10 seconds.

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