diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-07-15 22:32:11 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-07-15 22:32:11 +0000 |
commit | 72fbc3d9d260e061bdee07059fcd63772c714091 (patch) | |
tree | 89e3b4c2f3bdd4539693d636b5318ff926153f5c /lib/Target/PowerPC/PPCTargetMachine.cpp | |
parent | 0d7c695c74ae6d5f68cc07378c17491915e607d3 (diff) |
Fix bug in RegScavenger::scavengeRegister().
Reserved registers are not candidates for scavenging, and they were removed
from the candidate list like this:
CreateRegClassMask(RC, Candidates);
Candidates ^= ReservedRegs;
However, when there are reserved registers outside RC, this causes invalid
bits to be set in Candidates.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75847 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions