Separate VM instruction that generates the instructions that compute a value
authorVikram S. Adve <vadve@cs.uiuc.edu>
Wed, 17 Oct 2001 23:55:16 +0000 (23:55 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Wed, 17 Oct 2001 23:55:16 +0000 (23:55 +0000)
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
lib/Target/SparcV9/InstrSched/SchedGraph.h

index 76a7663cf8079630c61f7c42548f055608758f75..538590dccb4be005a51c60843f28cd81b972b6e2 100644 (file)
@@ -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,
index 76a7663cf8079630c61f7c42548f055608758f75..538590dccb4be005a51c60843f28cd81b972b6e2 100644 (file)
@@ -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,