Forgot this.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 14 Mar 2008 00:17:29 +0000 (00:17 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 14 Mar 2008 00:17:29 +0000 (00:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48349 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/ScheduleDAG.h

index ea9d1a8a4e9f9cc12cae7ce2aa701f7666d2b7a4..1cab3e05d7131486712ae0a9d3fefe50b592a56e 100644 (file)
@@ -351,14 +351,12 @@ namespace llvm {
 
     /// EmitLiveInCopy - Emit a copy for a live in physical register. If the
     /// physical register has only a single copy use, then coalesced the copy
-    /// if possible. It returns the destination register of the emitted copy
-    /// if it is a physical register; otherwise it returns zero.
-    unsigned EmitLiveInCopy(MachineBasicBlock *MBB,
-                            MachineBasicBlock::iterator &InsertPos,
-                            unsigned VirtReg, unsigned PhysReg,
-                            const TargetRegisterClass *RC,
-                            BitVector &LiveRegsBefore,
-                            BitVector &LiveRegsAfter);
+    /// if possible.
+    void EmitLiveInCopy(MachineBasicBlock *MBB,
+                        MachineBasicBlock::iterator &InsertPos,
+                        unsigned VirtReg, unsigned PhysReg,
+                        const TargetRegisterClass *RC,
+                        DenseMap<MachineInstr*, unsigned> &CopyRegMap);
 
     /// EmitLiveInCopies - If this is the first basic block in the function,
     /// and if it has live ins that need to be copied into vregs, emit the