diff options
author | Lang Hames <lhames@gmail.com> | 2009-08-10 23:43:28 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2009-08-10 23:43:28 +0000 |
commit | 8797283758f03653bed11d91ec76d0bba28bf6f9 (patch) | |
tree | 51c79e3aeffd0e16d2fa6d4547857afdb19a2a81 /lib/CodeGen/PreAllocSplitting.cpp | |
parent | d546ef7f4201acea72797d80d21f50451646c589 (diff) | |
download | external_llvm-8797283758f03653bed11d91ec76d0bba28bf6f9.zip external_llvm-8797283758f03653bed11d91ec76d0bba28bf6f9.tar.gz external_llvm-8797283758f03653bed11d91ec76d0bba28bf6f9.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78620 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PreAllocSplitting.cpp')
-rw-r--r-- | lib/CodeGen/PreAllocSplitting.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/PreAllocSplitting.cpp b/lib/CodeGen/PreAllocSplitting.cpp index 46d9339..fbab7e8 100644 --- a/lib/CodeGen/PreAllocSplitting.cpp +++ b/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; } |