]> granicus.if.org Git - llvm/commit
ScheduleDAGInstrs: Move VRegUses to ScheduleDAGMILive; NFCI
authorMatthias Braun <matze@braunis.de>
Fri, 11 Nov 2016 22:37:31 +0000 (22:37 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 11 Nov 2016 22:37:31 +0000 (22:37 +0000)
commit97c4b7addd559830a25f52774fe477089f329688
tree94cf735b733147ca00b80d076a6bd298bb922b6c
parente9923d3f0ae504d349398c80ea01017188476f29
ScheduleDAGInstrs: Move VRegUses to ScheduleDAGMILive; NFCI

Push VRegUses/collectVRegUses() down the class hierarchy towards its
only user ScheduleDAGMILive.

NFCI: The initialization of the map happens at a later point but that
should not matter.

This is in preparation to allow DAG mutators to merge nodes, which
relies on this map getting computed later.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286654 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineScheduler.h
include/llvm/CodeGen/ScheduleDAGInstrs.h
lib/CodeGen/MachineScheduler.cpp
lib/CodeGen/ScheduleDAGInstrs.cpp