llvm-6502/lib/CodeGen/SelectionDAG
Dan Gohman 80792f3dde Treat EntryToken nodes as "passive" so that they aren't added to the
ScheduleDAG; they don't correspond to any actual instructions so they
don't need to be scheduled.

This fixes a bug where the EntryToken was being scheduled multiple
times in some cases, though it ended up not causing any trouble because 
EntryToken doesn't expand into anything. With this fixed the schedulers
reliably schedule the expected number of units, so we can check this
with an assertion.

This requires a tweak to test/CodeGen/X86/loop-hoist.ll because it
ends up getting scheduled differently in a trivial way, though it was
enough to fool the prcontext+grep that the test does.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49701 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-15 01:22:18 +00:00
..
CallingConvLower.cpp
DAGCombiner.cpp Re-commit of the r48822, where the infinite looping problem discovered 2008-04-07 10:06:32 +00:00
LegalizeDAG.cpp Factor some libcall code. 2008-04-12 17:14:18 +00:00
LegalizeTypes.cpp Initial libcall support for LegalizeTypes. This is 2008-04-14 06:48:48 +00:00
LegalizeTypes.h Initial libcall support for LegalizeTypes. This is 2008-04-14 06:48:48 +00:00
LegalizeTypesExpand.cpp Initial libcall support for LegalizeTypes. This is 2008-04-14 06:48:48 +00:00
LegalizeTypesFloatToInt.cpp Rename getAnyLoad to getLoad is suggested by Evan. 2008-03-28 09:45:24 +00:00
LegalizeTypesPromote.cpp Drop ISD::MEMSET, ISD::MEMMOVE, and ISD::MEMCPY, which are not Legal 2008-04-12 04:36:06 +00:00
LegalizeTypesScalarize.cpp
LegalizeTypesSplit.cpp
Makefile
ScheduleDAG.cpp Treat EntryToken nodes as "passive" so that they aren't added to the 2008-04-15 01:22:18 +00:00
ScheduleDAGList.cpp Treat EntryToken nodes as "passive" so that they aren't added to the 2008-04-15 01:22:18 +00:00
ScheduleDAGRRList.cpp Treat EntryToken nodes as "passive" so that they aren't added to the 2008-04-15 01:22:18 +00:00
SelectionDAG.cpp Avoid creating MERGE_VALUES nodes for single values. 2008-04-14 18:43:25 +00:00
SelectionDAGISel.cpp Fix /test/CodeGen/PowerPC/big-endian-actual-args.ll for linux/ppc32 2008-04-14 17:17:14 +00:00
SelectionDAGPrinter.cpp In -view-sunit-dags, display "special" chain dependencies as cyan 2008-04-14 23:15:07 +00:00
TargetLowering.cpp Drop ISD::MEMSET, ISD::MEMMOVE, and ISD::MEMCPY, which are not Legal 2008-04-12 04:36:06 +00:00