]> granicus.if.org Git - llvm/commit
* Convert to be a MachineFunctionPass instance
authorChris Lattner <sabre@nondot.org>
Sat, 28 Dec 2002 20:42:14 +0000 (20:42 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 28 Dec 2002 20:42:14 +0000 (20:42 +0000)
commit600dee4aaee093b6b45011c5461f43fd7855a5d6
tree7e75e972e3e8fbb759bc6a352a3b09db0116380a
parent580f9be7ff6ddbdf6914fc9243ab21fa21ffd34e
* Convert to be a MachineFunctionPass instance
* Use new FunctionFrameInfo object to manage stack slots instead of doing
  it directly
* Adjust to new MRegisterInfo API
* Don't take a TM as a ctor argument
* Don't keep track of which callee saved registers are modified
* Don't emit prolog/epilog code or spill/restore code for callee saved regs
* Use new allocation_order_begin/end iterators to simplify dramatically the
  logic for picking registers to allocate
* Machine PHI nodes can no longer contain constant arguments

* Use a bitvector to keep track of registers used instead of a set
* Fix problem where explicitly referenced registers would be added to
  regsused set and never removed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5196 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAllocSimple.cpp