Skip to content
Commit d7d0d4e8 authored by Jakob Stoklund Olesen's avatar Jakob Stoklund Olesen
Browse files

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
parent 69a5af21
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment