[llvm-dev] Is every intrinsic norecurse?
Sanjoy Das via llvm-dev
llvm-dev at lists.llvm.org
Sun Jun 4 20:24:13 PDT 2017
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
More information about the llvm-dev
mailing list