Separate VM instruction that generates the instructions that compute a value
from the value itself (the one causing an edge) because the latter may be
a temporary used within the instruction sequence for the VM instruction.
llvm-svn: 858
diff --git a/llvm/lib/CodeGen/InstrSched/SchedGraph.h b/llvm/lib/CodeGen/InstrSched/SchedGraph.h
index 76a7663..538590d 100644
--- a/llvm/lib/CodeGen/InstrSched/SchedGraph.h
+++ b/llvm/lib/CodeGen/InstrSched/SchedGraph.h
@@ -310,7 +310,8 @@
const TargetMachine& target);
void addSSAEdge (SchedGraphNode* node,
- const Value* val,
+ const Instruction* defVMInstr,
+ const Value* defValue,
const TargetMachine& target);
void addNonSSAEdgesForValue (const Instruction* instr,