commit | 4f5d84e4adfe2fd972e20e1e9104fbacf8d63512 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Sat Jun 26 00:39:23 2010 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Sat Jun 26 00:39:23 2010 +0000 |
tree | e2bce266bf4d12dfaef3c2bd08f130d2d8927a33 | |
parent | 80d9bc0336821ca2a94a7afe2daac6e8bc689ef7 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106934 91177308-0d34-0410-b5e6-96231b3b80d8