https://bugs.llvm.org/show_bug.cgi?id=49208

Nikita Popov <nikita....@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED
                 CC|                            |nikita....@gmail.com

--- Comment #1 from Nikita Popov <nikita....@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to