[PATCH] D151644: [InstCombine] Propegating `nocapture` flag to callsites
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 30 23:49:02 PDT 2023
goldstein.w.n updated this revision to Diff 526926.
goldstein.w.n added a comment.
Only propegate when nocapture state cannot be changed after the
callsite (so the callers nocapture must be preserved by that point).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151644/new/
https://reviews.llvm.org/D151644
Files:
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/test/Transforms/InstCombine/nocapture-attribute.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151644.526926.patch
Type: text/x-patch
Size: 9766 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230531/ae29665d/attachment.bin>
More information about the llvm-commits
mailing list