aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-02-22 20:30:53 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-02-22 20:30:53 +0000
commit52c15b3e6dccb691041df0e2c520bbf3d1d00883 (patch)
tree2c969cb724f68f0d68522c3c76c61bd61c9494f9 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentc77f34daadde96d909f8cec6cc01c40859a7f09a (diff)
downloadllvm-52c15b3e6dccb691041df0e2c520bbf3d1d00883.zip
llvm-52c15b3e6dccb691041df0e2c520bbf3d1d00883.tar.gz
llvm-52c15b3e6dccb691041df0e2c520bbf3d1d00883.tar.bz2
Really really bad local register allocator bug. On X86, it was never using ESI, EDI, and EBP because of a bug in RALocal::isPhysRegAvailable(). For example, when
it checks if ESI is available, it then looks at registers aliases to ESI. SIL is marked -2 (not allocatable) but isPhysRegAvailable() incorrectly assumes it is in use and returns false for ESI. llvm-svn: 47499
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions