diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-10-17 23:55:16 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-10-17 23:55:16 +0000 |
commit | ad97e4ed84e513cbb6fc07cdf79dd90ef5df68e7 (patch) | |
tree | 57e2362ad0e0f05e15f2f470c8f5e6bb31490552 | |
parent | 59cbb6498c6d12a6bcdeac70430525c9b6271053 (diff) | |
download | bcm5719-llvm-ad97e4ed84e513cbb6fc07cdf79dd90ef5df68e7.tar.gz bcm5719-llvm-ad97e4ed84e513cbb6fc07cdf79dd90ef5df68e7.zip |
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
-rw-r--r-- | llvm/lib/CodeGen/InstrSched/SchedGraph.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/SchedGraph.h b/llvm/lib/CodeGen/InstrSched/SchedGraph.h index 76a7663cf80..538590dccb4 100644 --- a/llvm/lib/CodeGen/InstrSched/SchedGraph.h +++ b/llvm/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, |