[LLVMbugs] [Bug 6481] New: instcombine incorrectly generates undefs with icmp
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Mar 3 09:02:00 PST 2010
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: unassignedbugs at nondot.org
ReportedBy: arplynn at gmail.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list