http://llvm.org/bugs/show_bug.cgi?id=5975
Summary: Missed removal of loads after undef stores
Product: libraries
Version: trunk
Platform: Macintosh
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Scalar Optimizations
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Consider the following test-case:
define i8 @foo(i8* %ptr) nounwind {
entry:
store i8 undef, i8* %ptr
%val = load i8* %ptr
ret i8 %val
}
This could be reduced to ret i8 undef, but instead the load remains.
--
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