summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-02 00:20:32 +0000
committerChris Lattner <sabre@nondot.org>2005-09-02 00:20:32 +0000
commit5ab6f5fe666d0e3403d9b777324d1a1999118153 (patch)
tree49cd692524939663e5acd285e1c5ee4ad5842aad /include
parentfab08875b73656f373b10a59aad475615df82baf (diff)
downloadexternal_llvm-5ab6f5fe666d0e3403d9b777324d1a1999118153.zip
external_llvm-5ab6f5fe666d0e3403d9b777324d1a1999118153.tar.gz
external_llvm-5ab6f5fe666d0e3403d9b777324d1a1999118153.tar.bz2
Teach live intervals to not crash on dead livein regs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23206 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/LiveIntervalAnalysis.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h
index f7f4569..02ecea7 100644
--- a/include/llvm/CodeGen/LiveIntervalAnalysis.h
+++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h
@@ -164,7 +164,8 @@ namespace llvm {
void handlePhysicalRegisterDef(MachineBasicBlock* mbb,
MachineBasicBlock::iterator mi,
LiveInterval& interval,
- unsigned SrcReg, unsigned DestReg);
+ unsigned SrcReg, unsigned DestReg,
+ bool isLiveIn = false);
/// Return true if the two specified registers belong to different
/// register classes. The registers may be either phys or virt regs.