aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCTargetMachine.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2009-07-15 22:32:11 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2009-07-15 22:32:11 +0000
commit808e8e7ffdb5ac1f99cb9e4c563f2e6472499d32 (patch)
tree89e3b4c2f3bdd4539693d636b5318ff926153f5c /lib/Target/PowerPC/PPCTargetMachine.cpp
parente84b8b3f2cf731f101ad2e62ec30d846c927883e (diff)
downloadexternal_llvm-808e8e7ffdb5ac1f99cb9e4c563f2e6472499d32.zip
external_llvm-808e8e7ffdb5ac1f99cb9e4c563f2e6472499d32.tar.gz
external_llvm-808e8e7ffdb5ac1f99cb9e4c563f2e6472499d32.tar.bz2
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