diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-06-26 00:39:23 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-06-26 00:39:23 +0000 |
commit | d7d0d4e882e56ed2d7303f8f33003978fe154c9e (patch) | |
tree | 6b5b9563768836bf16b18d12ab4ec22c10bb9edf /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 69a5af21e4ba6320369c6a6079e1a66cb413fb51 (diff) | |
download | llvm-d7d0d4e882e56ed2d7303f8f33003978fe154c9e.zip llvm-d7d0d4e882e56ed2d7303f8f33003978fe154c9e.tar.gz llvm-d7d0d4e882e56ed2d7303f8f33003978fe154c9e.tar.bz2 |
When creating X86 MUL8 and DIV8 instructions, make sure we don't produce
CopyFromReg nodes for aliasing registers (AX and AL). This confuses the fast
register allocator.
Instead of CopyFromReg(AL), use ExtractSubReg(CopyFromReg(AX), sub_8bit).
This fixes PR7312.
llvm-svn: 106934
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions