[LLVMdev] minimum function ir
Reed Kotler
rkotler at mips.com
Sat Apr 20 14:04:02 PDT 2013
On 04/20/2013 01:30 PM, reed kotler wrote:
> Can I create a "naked" function that has only inline assembler and no
> return IR for example?
>
> If I create just a function will an empty basic block, it's core dumps.
>
> I'm debugging it now.
Seems that you have to have at least a return instruction.
Is that a bug?
Why can't I do the return myself if it's all inline assembly code.
More information about the llvm-dev
mailing list