If the underlying alloca did not change, we do not necessarily need new
lifetime markers. This patch adds a check and reuses the old ones if
possible.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D68900
[SROA] Reuse existing lifetime markers if possible ClosedPublic Authored by jdoerfert on Oct 11 2019, 4:58 PM.
Details Summary If the underlying alloca did not change, we do not necessarily need new
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 11 2019, 7:06 PM Closed by commit rG92694eba933e: [SROA] Reuse existing lifetime markers if possible (authored by jdoerfert). · Explain WhyOct 12 2019, 7:25 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 224768 llvm/lib/Transforms/Scalar/SROA.cpp
llvm/test/Transforms/SROA/reuse_lifetime_markers.ll
|