[LLVMdev] Moving between registers of different classes

Alkis Evlogimenos alkis at cs.uiuc.edu
Tue Jul 6 10:51:00 PDT 2004

On Tue, 2004-07-06 at 09:41, Vladimir Prus wrote:
> Is there anything I can do to make it work? Actually, it seems like a bug in 
> register allocator. If it can't coalesce intervals because there are 
> different register classes, it should just leave the move alone, not crash.

You are right, it shouldn't crash. The assert was added to check if the
x86 instructor selector ever did a move between two different register
classes and it was left there. Can you try the attached patch and let me
know if it works?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: li.diff
Type: text/x-patch
Size: 1610 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040706/6ba0df39/attachment.bin>

More information about the llvm-dev mailing list