From f43e3366efa9a3a9f54f886bd6022c2f003adf53 Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Wed, 17 Oct 2001 23:55:16 +0000 Subject: [PATCH] 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 --- lib/CodeGen/InstrSched/SchedGraph.h | 3 ++- lib/Target/SparcV9/InstrSched/SchedGraph.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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, -- 2.34.1