[PATCH] D123162: [CaptureTracking] Ignore ephemeral values when determining pointer escapeness
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 5 15:51:56 PDT 2022
aeubanks created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
aeubanks requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Ephemeral values cannot cause a pointer to escape.
This fixes some regressions caused by more calls to `__builtin_assume` (D122397 <https://reviews.llvm.org/D122397>).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D123162
Files:
llvm/include/llvm/Analysis/CaptureTracking.h
llvm/lib/Analysis/CaptureTracking.cpp
llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
llvm/test/Transforms/DeadStoreElimination/assume.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123162.420649.patch
Type: text/x-patch
Size: 8575 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220405/4569e1f1/attachment.bin>
More information about the llvm-commits
mailing list