Displaying 1 result from an estimated 1 matches for "overwritecomplet".
Did you mean:
overwritecomplete
2014 Oct 17
2
[LLVMdev] opt -O2 leads to incorrect operation (possibly a bug in the DSE)
...the issue.
-print-after-all shows that the 'Dead Store Elimination' pass erases first
call to memcpy.
I found that the following code in DeadStoreElimination.cpp leads to such
behavior:
if (DL == nullptr && Later.Ptr->getType() == Earlier.Ptr->getType())
return OverwriteComplete;
Is this issue a bug in DSE or maybe I'm doing some wrong?
Best regards,
Alexey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141017/376f01fb/attachment.html>