http://llvm.org/bugs/show_bug.cgi?id=6481
Summary: instcombine incorrectly generates undefs with icmp
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
Component: Scalar Optimizations
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Take the example of:
define i1 @cond() nounwind readnone {
entry:
%cmp = icmp slt i8 undef, -128
ret i1 %cmp
}
instcombine turns this into ret i1 undef. This is not valid: there is no i8
value for which the condition is true.
--
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