[llvm-bugs] [Bug 27005] Dead store elimination incorrectly removes store to function pointer in struct
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Mar 20 14:15:58 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=27005
David Majnemer <david.majnemer at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |david.majnemer at gmail.com
Resolution|--- |INVALID
--- Comment #4 from David Majnemer <david.majnemer at gmail.com> ---
The store can be removed because it's target is an alloca and there is no
access to the alloca *after* the store but *before* the function returns.
The lifetime of an alloca implicitly ends when a function returns.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160320/9ad0a266/attachment.html>
More information about the llvm-bugs
mailing list