[PATCH] D9400: llvm.noalias - Use noalias intrinsics when inlining (and update them when cloning metadata)
Jeroen Dobbelaere via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 17 09:12:06 PDT 2018
jeroen.dobbelaere added inline comments.
================
Comment at: lib/Transforms/Utils/InlineFunction.cpp:799
if (MD.empty())
return;
----------------
This early exit blocks propagation of the call's metadata, when the callee has no annotated instructions. This has the effect of blocking local restrict for the inlined call.
https://reviews.llvm.org/D9400
More information about the llvm-commits
mailing list