[PATCH] D95141: [InstSimplifyPass] Remove unused llvm.experimental.noalias.scope.decl
Jeroen Dobbelaere via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 21 07:50:39 PST 2021
jeroen.dobbelaere created this revision.
jeroen.dobbelaere added reviewers: nikic, jdoerfert.
Herald added subscribers: lxfind, hiraditya.
jeroen.dobbelaere requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
A @llvm.experimental.noalias.scope.decl is only useful if there is !alias.scope metadata that uses the declared scope.
When that is not the case, the intrinsic call can as well be removed.
https://reviews.llvm.org/D95141
Files:
llvm/lib/Transforms/Scalar/InstSimplifyPass.cpp
llvm/test/Transforms/Coroutines/coro-retcon-resume-values.ll
llvm/test/Transforms/Coroutines/coro-retcon-value.ll
llvm/test/Transforms/Coroutines/coro-retcon.ll
llvm/test/Transforms/Coroutines/ex2.ll
llvm/test/Transforms/Coroutines/ex3.ll
llvm/test/Transforms/Coroutines/ex4.ll
llvm/test/Transforms/InstSimplify/noalias-scope-decl.ll
llvm/test/Transforms/PhaseOrdering/inlining-alignment-assumptions.ll
llvm/test/Transforms/PhaseOrdering/instcombine-sroa-inttoptr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95141.318207.patch
Type: text/x-patch
Size: 11480 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210121/c7807295/attachment.bin>
More information about the llvm-commits
mailing list