summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.h
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
commit7138f9142498d283e419ee7b9ad96eddafb5a963 (patch)
tree1a5668ac13fef2cf65440f27250bb0025e017c2c /llvm/lib/CodeGen/LiveIntervalAnalysis.h
parenta66403dbf74fe3ca3fdfacbf8f083f99da1e33bd (diff)
downloadbcm5719-llvm-7138f9142498d283e419ee7b9ad96eddafb5a963.tar.gz
bcm5719-llvm-7138f9142498d283e419ee7b9ad96eddafb5a963.zip
Teach live intervals to not crash on dead livein regs
llvm-svn: 23206
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.h')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.h b/llvm/lib/CodeGen/LiveIntervalAnalysis.h
index f7f4569cb35..02ecea7af0c 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.h
+++ b/llvm/lib/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.
OpenPOWER on IntegriCloud