From 38fd9f2a2dedc2c4ce73fcf4890b79b6eb8c2e8f Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Mon, 25 Oct 2010 23:56:21 +0000 Subject: [PATCH] Neuter r117193 as it causes significant post-ra scheduler compile time regression. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117329 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/ScheduleDAGInstrs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CodeGen/ScheduleDAGInstrs.cpp b/lib/CodeGen/ScheduleDAGInstrs.cpp index 6b1a59b5ea8..9b5d13b1200 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. } }