[llvm-dev] Question on llvm.mem* intrinsics

via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 10 12:09:11 PDT 2019


Hi there lowering experts,

Can the llvm.mem* intrinsics ever turn into a library call? Or do
they invariably turn into inline code?

This comes up because there was a patch to StackProtector to use
CaptureTracking instead of a home-grown analysis, which changes
the treatment of calls to intrinsics.  (The old code treated them
as normal calls, the new code decides intrinsics can never capture.)
But if llvm.mem* intrinsics can turn into real function calls, we
need to pay attention to that.

Thanks,
--paulr



More information about the llvm-dev mailing list