[LLVMdev] LLVM BUG for x86 code generation ?

Sebastien DELDON-GNB sebastien.deldon at st.com
Thu Nov 18 04:57:44 PST 2010


Hi Duncan,

I've patched LLVM 2.8 source tree, and it doesn't fix the problem on my side.
Did you checked that your patch fixes the problem ?

Best Regards
Seb

-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Duncan Sands
Sent: Thursday, November 18, 2010 12:48 PM
To: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] LLVM BUG for x86 code generation ?

Hi Sebastian,

> when I compiled attached .ll file with llc 2.8 as follows:
>
> llc -O0 -march=x86 llvmfails.ll -o llvmfails.s gcc -m32 llvmfails.s -o 
> llvmfails ./llvmfails
>
> the executable exits with the expected message: "SUCCESS", whereas if I use -O1 instead of -O0 for LLC, it prints out FAILS.
>
> llc -O0 -march=x86 llvmfails.ll -o llvmfails.s gcc -m32 llvmfails.s -o 
> llvmfails ./llvmfails

does the attached patch fix your problems?

Ciao,

Duncan.

PS: In the future please open a bug report when reporting a bug.




More information about the llvm-dev mailing list