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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@858 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/InstrSched/SchedGraph.h b/lib/CodeGen/InstrSched/SchedGraph.h
index 76a7663..538590d 100644
--- a/lib/CodeGen/InstrSched/SchedGraph.h
+++ b/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,