[llvm-dev] Is every intrinsic norecurse?

Piotr Padlewski via llvm-dev llvm-dev at lists.llvm.org
Mon Jun 5 04:34:18 PDT 2017


Oh right, here is a patch: https://reviews.llvm.org/D33889. I hope it will
get through because I spent much time fixing all of the tests :)

Piotr

2017-06-05 5:24 GMT+02:00 Sanjoy Das <sanjoy at playingwithpointers.com>:

> On Sun, Jun 4, 2017 at 7:16 PM, Hal Finkel <hfinkel at anl.gov> wrote:
> > I'm not sure that it is a universal property of all intrinsics, strictly
> > speaking. patchpoints, for example, might recurse? It is certainly true
> for
> > most of them.
>
> Yes, patchpoints and statepoints may recurse.  For instance
>
> void f() {
>   llvm.patchpoint(&f);
> }
>
> has "mutual recursion" between the patchpoint intrinsic and f.
>
> -- Sanjoy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170605/35c9822c/attachment.html>


More information about the llvm-dev mailing list