aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SparcV9/RegAlloc
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-08-18 17:44:16 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-08-18 17:44:16 +0000
commit5978a532e8beefec4a7860f00bfd4bb6c44df340 (patch)
tree4ecbc770faa4e34f7764896827d4a39d8d5e1c46 /lib/Target/SparcV9/RegAlloc
parentf84ee3865b2d612f549670fb6c7df6bbaabbfaae (diff)
downloadexternal_llvm-5978a532e8beefec4a7860f00bfd4bb6c44df340.zip
external_llvm-5978a532e8beefec4a7860f00bfd4bb6c44df340.tar.gz
external_llvm-5978a532e8beefec4a7860f00bfd4bb6c44df340.tar.bz2
The SparcV9 target no longer uses any pseudoinstructions (SETSW, SETUW,
SETX) or M_PSEUDO_FLAG. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15901 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/RegAlloc')
-rw-r--r--lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
index 6a68a0b..0737249 100644
--- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
+++ b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
@@ -256,21 +256,12 @@ void PhyRegAlloc::buildInterferenceGraphs() {
LiveRange *LR = LRI->getLiveRangeForValue(*OpI);
if (LR) LR->addSpillCost(BBLoopDepthCost);
}
-
- // Mark all operands of pseudo-instructions as interfering with one
- // another. This must be done because pseudo-instructions may be
- // expanded to multiple instructions by the assembler, so all the
- // operands must get distinct registers.
- if (TM.getInstrInfo()->isPseudoInstr(MInst->getOpcode()))
- addInterf4PseudoInstr(MInst);
-
// Also add interference for any implicit definitions in a machine
// instr (currently, only calls have this).
unsigned NumOfImpRefs = MInst->getNumImplicitRefs();
for (unsigned z=0; z < NumOfImpRefs; z++)
if (MInst->getImplicitOp(z).isDef())
addInterference( MInst->getImplicitRef(z), &LVSetAI, isCallInst );
-
} // for all machine instructions in BB
} // for all BBs in function