http://llvm.org/bugs/show_bug.cgi?id=8576
Summary: Missing dead store elimination
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: quality-of-implementation
Severity: normal
Priority: P
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
void foo(int *p, int*q)
{
*p = 10; <-- this is not eliminated by clang/llvm but gcc does it
*q = 20;
*p = 30;
}
(Does LLVM chain up the may-defs via def-def chain?)
David
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs