[LLVMdev] Bad Instruction 4 with fastcc

Timothy Baldridge tbaldridge at gmail.com
Tue Mar 5 07:43:40 PST 2013

On OSX I thought I'd try to optimize my compiler a bit by switching some of
the calling conventions from CCallingConv to FastCC. The compiler ran fine,
but when I executed the code, I got "Bad Instruction 4". I'm seeing some
other mentions on this mailing list of issues like this on OSX (I'm using
10.8). Is there anything I need to change to enable fastcc with my
compiler? I also tried the X86FastCCCallingConv and that died with the same


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130305/afd18141/attachment.html>

More information about the llvm-dev mailing list