summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-04-25 04:46:28 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-04-25 04:46:28 +0000
commit40221aa74c881848084fe6309e61c1e05a6e9887 (patch)
treee5e3a16f17ad88a992e1396a05afe27245e53708 /llvm/lib/CodeGen
parent776df77d145dac2b74476712dae2842c8d4a5d24 (diff)
downloadbcm5719-llvm-40221aa74c881848084fe6309e61c1e05a6e9887.tar.gz
bcm5719-llvm-40221aa74c881848084fe6309e61c1e05a6e9887.zip
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. llvm-svn: 2318
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h
index 4976c9bf9a1..5922497f11e 100644
--- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h
+++ b/llvm/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
OpenPOWER on IntegriCloud