summaryrefslogtreecommitdiffstats
path: root/clang/lib/Rewrite/DeltaTree.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-04-15 01:22:18 +0000
committerDan Gohman <gohman@apple.com>2008-04-15 01:22:18 +0000
commit4370f267506c1666152611d3e2a715ce0d0d7755 (patch)
treeadc1ec29274c49f52d488631ad6d45237f467a92 /clang/lib/Rewrite/DeltaTree.cpp
parent0152a1a5db3f8a29b6795633a947ecbc7efc237e (diff)
downloadbcm5719-llvm-4370f267506c1666152611d3e2a715ce0d0d7755.tar.gz
bcm5719-llvm-4370f267506c1666152611d3e2a715ce0d0d7755.zip
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. llvm-svn: 49701
Diffstat (limited to 'clang/lib/Rewrite/DeltaTree.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud