(1) Change the way unused regs. are marked and found to consider regType
authorVikram S. Adve <vadve@cs.uiuc.edu>
Fri, 25 Jul 2003 21:06:09 +0000 (21:06 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Fri, 25 Jul 2003 21:06:09 +0000 (21:06 +0000)
commitbc001b24a17a2329dfd96bc22b8862b645603058
tree673e44bf002a0f934b35e62e4f3dcdae592c7751
parent523eb3f768b8c1252e231acd77d0ee758f5ddcd0
(1) Change the way unused regs. are marked and found to consider regType
    info (since multiple reg types may share the same reg class).
(2) Remove machine-specific regalloc. methods that are no longer needed.
    In particular, arguments and return value from a call do not need
    machine-specific code for allocation.
(3) Rename TargetRegInfo::getRegType variants to avoid unintentional
    overloading when an include file is omitted.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7329 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
lib/CodeGen/RegAlloc/RegClass.cpp
lib/CodeGen/RegAlloc/RegClass.h
lib/Target/SparcV9/RegAlloc/LiveRangeInfo.cpp
lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
lib/Target/SparcV9/RegAlloc/RegClass.cpp
lib/Target/SparcV9/RegAlloc/RegClass.h