diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-04-25 04:46:28 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-04-25 04:46:28 +0000 |
commit | d23a229c4cd4019ecfdd18b855c32146922d1b14 (patch) | |
tree | 50a5ba783571e3da2a2a91a80b73f6a0766229a4 /lib/CodeGen | |
parent | 0bc051607859c10e151c9dd9fd06246f7dc098ac (diff) | |
download | llvm-d23a229c4cd4019ecfdd18b855c32146922d1b14.tar.gz llvm-d23a229c4cd4019ecfdd18b855c32146922d1b14.tar.bz2 llvm-d23a229c4cd4019ecfdd18b855c32146922d1b14.tar.xz |
Don't record instructions for copying method arguments in the
AddedInstrns sets for the first machine instruction. It is hard
to ensure that the right order is preserved, and sure enough, the
order was broken. Instead, use a separate set for the function entry.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2318 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/RegAlloc/PhyRegAlloc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.h b/lib/CodeGen/RegAlloc/PhyRegAlloc.h index 4976c9bf9a..5922497f11 100644 --- a/lib/CodeGen/RegAlloc/PhyRegAlloc.h +++ b/lib/CodeGen/RegAlloc/PhyRegAlloc.h @@ -78,6 +78,7 @@ class PhyRegAlloc: public NonCopyable { AddedInstrMapType AddedInstrMap; // to store instrns added in this phase + AddedInstrns AddedInstrAtEntry; // to store instrns added at entry cfg::LoopInfo *LoopDepthCalc; // to calculate loop depths ReservedColorListType ResColList; // A set of reserved regs if desired. // currently not used |