summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-01-24 19:08:15 +0000
committerAndrew Trick <atrick@apple.com>2011-01-24 19:08:15 +0000
commita293c49f0d6b9f70c7b9b668343072776de02e6b (patch)
tree053f31895ce1cbb1acfe783f60a12782582c6081 /llvm/lib/CodeGen/SelectionDAG
parent0c4380856bb5616b859f0599e43dcc4a2e2d1a11 (diff)
downloadbcm5719-llvm-a293c49f0d6b9f70c7b9b668343072776de02e6b.tar.gz
bcm5719-llvm-a293c49f0d6b9f70c7b9b668343072776de02e6b.zip
Temporarily workaround JM/lencod miscompile (SIGSEGV).
rdar://problem/8893967 llvm-svn: 124137
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
index ad835806a4e..87739c03914 100644
--- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud