[llvm-commits] [PATCH]: PowerPC64 register/instruction fixes

Roman Divacky rdivacky at freebsd.org
Thu Jun 16 08:34:27 PDT 2011


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?

roman

P.S. By mistake I sent this mail to llvm-dev@ too please ignore it there
-------------- next part --------------
A non-text attachment was scrubbed...
Name: powerpc-misc-64bit.patch
Type: text/x-diff
Size: 2851 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110616/c58d6dca/attachment.patch>


More information about the llvm-commits mailing list