Fix a recent regression in Applications/sgefa that Alkis pointed out to me.
authorChris Lattner <sabre@nondot.org>
Wed, 16 Jun 2004 06:57:29 +0000 (06:57 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 16 Jun 2004 06:57:29 +0000 (06:57 +0000)
commitaebcce840429a2f9dd0a17c300a91901528cb953
treedb94ffec910323f65ecf255c2037f37044ee61e2
parent59108d3d4010e6d9c4e289cc113a9f6d79da5aca
Fix a recent regression in Applications/sgefa that Alkis pointed out to me.
The vector may actually be empty if the register that we are marking as
recently used is not actually allocatable.  This happens for physical registers
that are not allocatable, like the ST(x) registers on X86.

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