http://llvm.org/bugs/show_bug.cgi?id=6940
Summary: SCCP miscompiles sitofp(undef)
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Scalar Optimizations
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
On this testcase:
define double @foo() {
%t = sitofp i32 undef to double
ret double %t
}
SCCP changes the sitofp operand to undef. This is over-aggressive, since there
exist double values which sitofp cannot produce. For comparison, instcombine on
this testcase changes the operand to 0.0.
--
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