From: Misha Brukman Date: Thu, 6 Nov 2003 00:04:11 +0000 (+0000) Subject: Let's not forget about our friends -- Constant Pool indices. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e2bf0a2c36105dcee6bb9adb2306358ac1f936b5;p=oota-llvm.git Let's not forget about our friends -- Constant Pool indices. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9750 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/InstrSched/SchedGraph.cpp b/lib/CodeGen/InstrSched/SchedGraph.cpp index f6f37917342..e7cd47881ac 100644 --- a/lib/CodeGen/InstrSched/SchedGraph.cpp +++ b/lib/CodeGen/InstrSched/SchedGraph.cpp @@ -438,6 +438,7 @@ void SchedGraph::addEdgesForInstruction(const MachineInstr& MI, case MachineOperand::MO_SignExtendedImmed: case MachineOperand::MO_UnextendedImmed: case MachineOperand::MO_PCRelativeDisp: + case MachineOperand::MO_ConstantPoolIndex: break; // nothing to do for immediate fields default: diff --git a/lib/Target/SparcV9/InstrSched/SchedGraph.cpp b/lib/Target/SparcV9/InstrSched/SchedGraph.cpp index f6f37917342..e7cd47881ac 100644 --- a/lib/Target/SparcV9/InstrSched/SchedGraph.cpp +++ b/lib/Target/SparcV9/InstrSched/SchedGraph.cpp @@ -438,6 +438,7 @@ void SchedGraph::addEdgesForInstruction(const MachineInstr& MI, case MachineOperand::MO_SignExtendedImmed: case MachineOperand::MO_UnextendedImmed: case MachineOperand::MO_PCRelativeDisp: + case MachineOperand::MO_ConstantPoolIndex: break; // nothing to do for immediate fields default: