[LLVMdev] -instcombine broken with fastcall

Arnaud Bergeron abergeron at gmail.com
Mon Oct 6 12:29:19 PDT 2008


2008/10/6 Chris Lattner <clattner at apple.com>:
>
> On Oct 5, 2008, at 10:55 PM, Arnaud Bergeron wrote:
>
>> I found this with LLVM 2.3 and reproduced with svn as of about thirty
>> minutes ago and they both fail in the same way.
>>
>> If you run this code through opt -instcombine
>
> Your input code has undefined behavior.  You have to mark the callsite
> as fastcc also.

Thanks.  I didn't know that.

Arnaud

> -Chris
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



More information about the llvm-dev mailing list