From: Vikram S. Adve Date: Wed, 17 Oct 2001 23:55:16 +0000 (+0000) Subject: Separate VM instruction that generates the instructions that compute a value X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f43e3366efa9a3a9f54f886bd6022c2f003adf53;p=oota-llvm.git 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 76a7663cf80..538590dccb4 100644 --- a/lib/CodeGen/InstrSched/SchedGraph.h +++ b/lib/CodeGen/InstrSched/SchedGraph.h @@ -310,7 +310,8 @@ private: const TargetMachine& target); void addSSAEdge (SchedGraphNode* node, - const Value* val, + const Instruction* defVMInstr, + const Value* defValue, const TargetMachine& target); void addNonSSAEdgesForValue (const Instruction* instr, diff --git a/lib/Target/SparcV9/InstrSched/SchedGraph.h b/lib/Target/SparcV9/InstrSched/SchedGraph.h index 76a7663cf80..538590dccb4 100644 --- a/lib/Target/SparcV9/InstrSched/SchedGraph.h +++ b/lib/Target/SparcV9/InstrSched/SchedGraph.h @@ -310,7 +310,8 @@ private: const TargetMachine& target); void addSSAEdge (SchedGraphNode* node, - const Value* val, + const Instruction* defVMInstr, + const Value* defValue, const TargetMachine& target); void addNonSSAEdgesForValue (const Instruction* instr,