[llvm-bugs] [Bug 29118] LLVM O2: LLVM opt -O2 did wrong optimization happened on Power / x86.
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Aug 25 11:44:29 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=29118
Sanjay Patel <spatel+llvm at rotateright.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #5 from Sanjay Patel <spatel+llvm at rotateright.com> ---
(In reply to comment #4)
> Well, we don't really have UB in the IR.
> But I think the IR semantics are that loading from an uninitialized alloca
> yields an undef value, with all of its consequences.
Sounds good to me. I checked that the memory sanitizer does report the reading
of uninitialized memory in the original program, so marking this as invalid.
--
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/20160825/480449b1/attachment.html>
More information about the llvm-bugs
mailing list