Displaying 3 results from an estimated 3 matches for "3284c136".
Did you mean:
3245136
2013 Apr 22
0
[LLVMdev] minimum function ir
Hello Reed,
Basic blocks need to end with a terminator instruction.
There is an "unreachable" terminator instruction, whose documentation says:
"the presence of this instruction indicates some higher level knowledge
that the end of the block cannot be reached."
(see include/llvm/IR/Instructions.h).
I've been able to suppress the return using this. I'm not completely
2013 Apr 22
1
[LLVMdev] minimum function ir
...deed unreachable. You
do need to ensure that the asm expression has the "sideeffect" attribute so
that it doesn't get optimized away.
-Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130422/3284c136/attachment.html>
2013 Apr 20
2
[LLVMdev] minimum function ir
On 04/20/2013 02:04 PM, Reed Kotler wrote:
> 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