From: Andrew Trick Date: Mon, 24 Jan 2011 19:08:15 +0000 (+0000) Subject: Temporarily workaround JM/lencod miscompile (SIGSEGV). X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c48d50f9c036b48826e75df125d80af596980e00;p=oota-llvm.git Temporarily workaround JM/lencod miscompile (SIGSEGV). rdar://problem/8893967 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124137 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp index ad835806a4e..87739c03914 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp @@ -1645,11 +1645,13 @@ bool RegReductionPQBase::HighRegPressure(const SUnit *SU) const { // NumSuccsLeft counts all deps. Don't compare it with NumSuccs which only // counts data deps. To be more precise, we could maintain a // NumDataSuccsLeft count. + /* FIXME: exposing a downstream bug, JM/lencode miscompile if (PredSU->NumSuccsLeft != PredSU->Succs.size()) { DEBUG(dbgs() << " SU(" << PredSU->NodeNum << ") live across SU(" << SU->NodeNum << ")\n"); continue; } + */ const SDNode *PN = PredSU->getNode(); if (!PN->isMachineOpcode()) { if (PN->getOpcode() == ISD::CopyFromReg) {