[LLVMdev] Branch delay slots broken.
Richard Pennington
rich at pennware.com
Fri Dec 24 10:52:16 PST 2010
On 12/18/2010 11:17 AM, Bruno Cardoso Lopes wrote:
> I still can't reproduce because it's fixed in trunk for Mips and Sparc
> for a long time now, you must be using a really old version! :)
> Just for reference, it was fixed for Mips and Sparc in r108820 and r96492.
> Thanks anyway!
>
Bruno,
I figured out what triggers the problem. Clang defaults to -O0. If you
run that bitcode through llc with -O0, the label gets lost. -O1 and
above is OK.
-Rich
More information about the llvm-dev
mailing list