[llvm-dev] define an intrinsic function as terminator instruction
Jeremy Lakeman via llvm-dev
llvm-dev at lists.llvm.org
Sun Feb 28 22:29:28 PST 2016
I believe that similar to similar to calling @llvm.trap, you could mark the
call as noreturn. And follow it with an unreachable terminator instruction.
On Mon, Feb 29, 2016 at 3:04 PM, Xiangyang Guo via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> I want to define an intrinsic function as terminator instruction of one
> basic block, is this doable? If so, what attribute should I attach to this
> intrinsic function?
> Any input is appreciable.
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev