[LLVMdev] [PATCH]: PowerPC64 register/instruction fixes

Jakob Stoklund Olesen stoklund at 2pi.dk
Thu Jun 16 08:36:03 PDT 2011


On Jun 16, 2011, at 8:27 AM, Roman Divacky wrote:

> Hi there!
> 
> The attached patch fixes a few places where 32bit register classes
> or instructions are used on PowerPC64.
> 
> This lets me compile a working "vim" at -O0 on PowerPC64/FreeBSD. Previously
> it would crash the compiler with 
> 
>        llvm_unreachable("Impossible reg-to-reg copy");
> 
> 
> As it was mixing 64 bit registers with 32bit ones. Vim compiled with -O2
> still crashes.
> 
> 
> OK to commit?

Looks good, but please include testcases.

/jakob





More information about the llvm-dev mailing list