[llvm-bugs] [Bug 49208] Wrong optimization around memset
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Feb 16 13:19:04 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=49208
Nikita Popov <nikita.ppv at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
CC| |nikita.ppv at gmail.com
--- Comment #1 from Nikita Popov <nikita.ppv at gmail.com> ---
You have an incorrectly placed
call void @llvm.lifetime.start.p0i8(i64 24, i8* nonnull %2)
call after a number of stores already happened into the alloca. lifetime.start
effectively overwrites the alloca with undef, thus the observed behavior.
--
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/20210216/71183a9d/attachment.html>
More information about the llvm-bugs
mailing list