Fix PR3486. Fix a bug in code that manually patch physical register live interval...
[oota-llvm.git] / include / llvm / CodeGen / LiveIntervalAnalysis.h
index b87214f5e2c5b61520b0ba985a0bcc234f1f89c3..aec72858c8326d5aa6b2b87c29bb4944e8e90c38 100644 (file)
@@ -282,6 +282,10 @@ namespace llvm {
         I = r2iMap_.insert(std::make_pair(reg, createInterval(reg))).first;
       return *I->second;
     }
+
+    /// dupInterval - Duplicate a live interval. The caller is responsible for
+    /// managing the allocated memory.
+    LiveInterval *dupInterval(LiveInterval *li);
     
     /// addLiveRangeToEndOfBlock - Given a register and an instruction,
     /// adds a live range from that instruction to the end of its MBB.