Displaying 2 results from an estimated 2 matches for "visitunreach".
2014 Apr 14
2
[LLVMdev] Emit code for 'unreachable'
I am not seeing this happening, at least not for unreachables that
follow calls to 'noreturn' functions.
On Apr 14, 2014, at 3:48 AM, Anton Korobeynikov <anton at korobeynikov.info> wrote:
> Hello
>
> x86 backend emits ud2 instruction in this case
>
> On Mon, Apr 14, 2014 at 1:46 PM, Vadim Chugunov <vadimcn at gmail.com> wrote:
>> Hi,
>> Is it
2014 Apr 15
2
[LLVMdev] Emit code for 'unreachable'
On Tue, Apr 15, 2014 at 2:14 PM, Vadim Chugunov <vadimcn at gmail.com> wrote:
> I've looked through LLVM codegen code and found that
> SelectionDAGBuilder::visitUnreachable() is basically a no-op. So I don't
> see how it could have generated anything...
>
> What would be the right way to go about adding this functionality?
> Right now I am thinking to add 'EmitTargetCodeForUnreachable()' method to
> TargetSelectionDAGInfo class, so that...