diff --git a/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp b/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp index f6f37917342a..e7cd47881ac1 100644 --- a/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp +++ b/llvm/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: