[llvm-commits] Turning off SSE codegen for x86-64?

Török Edwin edwintorok at gmail.com
Wed Jan 28 10:21:54 PST 2009


On 2009-01-25 22:21, Torok Edwin wrote:
> Author: edwin
> Date: Sun Jan 25 14:21:24 2009
> New Revision: 62972
>
> URL: http://llvm.org/viewvc/llvm-project?rev=62972&view=rev
> Log:
> revert this patch for now, because Codegen does still want to generate SSE code,
> for example in the case of va-args. XFAIL associated tests.
>   

Hi Evan,

Can you please look at these bugreports and see if there is a way to
solve both?
http://llvm.org/bugs/show_bug.cgi?id=3402
http://llvm.org/bugs/show_bug.cgi?id=3403

My attempt to solve PR3402 (by allowing X86SSELevel to be 0 for x86-64)
caused PR3403, so I reverted that patch.
Are there other placesin codegen (other than va_arg I found in PR3403) 
that assume x86sselevel > 0 without actually
checking that flag?

Turning off SSE codegen for x86-64 is needed to compile kernel code,
like the Linux kernel.

Best regards,
--Edwin



More information about the llvm-commits mailing list