summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PreAllocSplitting.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2009-08-10 23:43:28 +0000
committerLang Hames <lhames@gmail.com>2009-08-10 23:43:28 +0000
commit3b90d973b0aae18c6780fb015195b87fbf0bd7f1 (patch)
treed9e46aba97db71559396cac4b535ed2f7b96c321 /llvm/lib/CodeGen/PreAllocSplitting.cpp
parent9d26c85bdc08c21b47b5e155e7a6d0cdf7cde70b (diff)
downloadbcm5719-llvm-3b90d973b0aae18c6780fb015195b87fbf0bd7f1.tar.gz
bcm5719-llvm-3b90d973b0aae18c6780fb015195b87fbf0bd7f1.zip
Modified VNInfo. The "copy" member is now a union which holds the copy for a register interval, or the defining register for a stack interval. Access is via getCopy/setCopy and getReg/setReg.
llvm-svn: 78620
Diffstat (limited to 'llvm/lib/CodeGen/PreAllocSplitting.cpp')
-rw-r--r--llvm/lib/CodeGen/PreAllocSplitting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PreAllocSplitting.cpp b/llvm/lib/CodeGen/PreAllocSplitting.cpp
index 46d93394366..fbab7e8be75 100644
--- a/llvm/lib/CodeGen/PreAllocSplitting.cpp
+++ b/llvm/lib/CodeGen/PreAllocSplitting.cpp
@@ -741,7 +741,7 @@ void PreAllocSplitting::ReconstructLiveInterval(LiveInterval* LI) {
unsigned SrcReg, DstReg, SrcSubIdx, DstSubIdx;
if (TII->isMoveInstr(*DI, SrcReg, DstReg, SrcSubIdx, DstSubIdx))
if (DstReg == LI->reg)
- NewVN->copy = &*DI;
+ NewVN->setCopy(&*DI);
NewVNs[&*DI] = NewVN;
}
OpenPOWER on IntegriCloud