[llvm-commits] [llvm] r147605 - /llvm/trunk/lib/CodeGen/ScheduleDAGInstrs.cpp
Chandler Carruth
chandlerc at gmail.com
Thu Jan 5 03:25:47 PST 2012
Author: chandlerc
Date: Thu Jan 5 05:25:47 2012
New Revision: 147605
URL: http://llvm.org/viewvc/llvm-project?rev=147605&view=rev
Log:
Remove an unused variable.
Modified:
llvm/trunk/lib/CodeGen/ScheduleDAGInstrs.cpp
Modified: llvm/trunk/lib/CodeGen/ScheduleDAGInstrs.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/ScheduleDAGInstrs.cpp?rev=147605&r1=147604&r2=147605&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/ScheduleDAGInstrs.cpp (original)
+++ llvm/trunk/lib/CodeGen/ScheduleDAGInstrs.cpp Thu Jan 5 05:25:47 2012
@@ -267,7 +267,6 @@
// TODO: Using a latency of 1 here for output dependencies assumes
// there's no cost for reusing registers.
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) {
std::vector<SUnit *> &DefList = Defs[*Alias];
for (unsigned i = 0, e = DefList.size(); i != e; ++i) {
More information about the llvm-commits
mailing list