[LLVMdev] -instcombine broken with fastcall

Chris Lattner clattner at apple.com
Sun Oct 5 23:23:13 PDT 2008


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.

-Chris




More information about the llvm-dev mailing list