]> granicus.if.org Git - llvm/commit
This should fix the bug seen with some registers not being allocated
authorMisha Brukman <brukman+llvm@gmail.com>
Tue, 3 Dec 2002 23:15:19 +0000 (23:15 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Tue, 3 Dec 2002 23:15:19 +0000 (23:15 +0000)
commitdc2ec004f1f29e0f61c60c71ef8bc94ae96694b8
tree907f053f2b8c43257de3e471be6382a834140c50
parent03c6fafd05c067d934d15ce8f472cb09740d0133
This should fix the bug seen with some registers not being allocated
correctly: skipping instructions by incorrectly incrementing the pointer.

Also adds support for building a reg-to-regclass map, and splits the function
for saving register to stack into two, one suitable for virtual registers
(which also assigns it a physical register) and one for simply storing back
physical registers.

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