From e2bf0a2c36105dcee6bb9adb2306358ac1f936b5 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Thu, 6 Nov 2003 00:04:11 +0000 Subject: [PATCH] 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 --- lib/CodeGen/InstrSched/SchedGraph.cpp | 1 + lib/Target/SparcV9/InstrSched/SchedGraph.cpp | 1 + 2 files changed, 2 insertions(+) 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: