Remove an unused variable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147605 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth 2012-01-05 11:25:47 +00:00
parent 62dfc51152
commit fcb0a27895

View File

@ -267,7 +267,6 @@ void ScheduleDAGInstrs::BuildSchedGraph(AliasAnalysis *AA) {
// TODO: Using a latency of 1 here for output dependencies assumes // TODO: Using a latency of 1 here for output dependencies assumes
// there's no cost for reusing registers. // there's no cost for reusing registers.
SDep::Kind Kind = MO.isUse() ? SDep::Anti : SDep::Output; SDep::Kind Kind = MO.isUse() ? SDep::Anti : SDep::Output;
unsigned AOLatency = (Kind == SDep::Anti) ? 0 : 1;
for (const unsigned *Alias = TRI->getOverlaps(Reg); *Alias; ++Alias) { for (const unsigned *Alias = TRI->getOverlaps(Reg); *Alias; ++Alias) {
std::vector<SUnit *> &DefList = Defs[*Alias]; std::vector<SUnit *> &DefList = Defs[*Alias];
for (unsigned i = 0, e = DefList.size(); i != e; ++i) { for (unsigned i = 0, e = DefList.size(); i != e; ++i) {