[llvm-dev] Is every intrinsic norecurse?
Hal Finkel via llvm-dev
llvm-dev at lists.llvm.org
Sun Jun 4 19:16:58 PDT 2017
On 06/04/2017 05:29 PM, Piotr Padlewski wrote:
> Hi folks,
> I've been measuring some devirtualization statistics and I found that
> when barriers are introduced, the number of functions marked as
> norecurse is lower.
> The llvm.group.barrier is obviously norecursive and I've been
> thinking: is every intrinsic norecurse?
> I think it make sense to mark all of the intrinsics that can be
> considered as norecursive this way, so it won't gonna stop the
> optimizer marking functions as norecurse.
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.
Lead, Compiler Technology and Programming Languages
Leadership Computing Facility
Argonne National Laboratory
More information about the llvm-dev