aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/ScheduleDAGInstrs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/ScheduleDAGInstrs.cpp')
-rw-r--r--lib/CodeGen/ScheduleDAGInstrs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/ScheduleDAGInstrs.cpp b/lib/CodeGen/ScheduleDAGInstrs.cpp
index 6b1a59b5ea..9b5d13b120 100644
--- a/lib/CodeGen/ScheduleDAGInstrs.cpp
+++ b/lib/CodeGen/ScheduleDAGInstrs.cpp
@@ -169,8 +169,8 @@ void ScheduleDAGInstrs::AddSchedBarrierDeps() {
} else {
// For others, e.g. fallthrough, conditional branch, assume the exit
// uses all the registers.
- for (int i = 0, e = TRI->getNumRegs(); i != e; ++i)
- Uses[i].push_back(&ExitSU);
+ // FIXME: This causes too much compile time regression. We need to compute
+ // liveout instead.
}
}