[LLVMdev] Testcase for OS kernel

Andrew Lenharth andrewl at lenharth.org
Thu Jan 15 21:18:33 PST 2009


On Thu, Jan 15, 2009 at 4:36 PM, Keun Soo Yim <yim6 at illinois.edu> wrote:
>  The source attached at the bottom is a testcase which causes a back-end
> error in LLVM 2.4.
>
>  These types of assembly routines are mainly used in OS kernels.
>
>  I checked that GCC 4.3 works for this routine.
>
>
>
>  The error messsage is ...
>
>          Couldn't allocate output reg for constraint 'A'!

This has been fixed in 2.5.
http://llvm.org/bugs/show_bug.cgi?id=3045
http://llvm.org/bugs/show_bug.cgi?id=1779

Andrew



More information about the llvm-dev mailing list