[LLVMbugs] [Bug 1822] New: instcombine misses select i1 %X, %Y, %X
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Nov 24 16:09:36 PST 2007
http://llvm.org/bugs/show_bug.cgi?id=1822
Summary: instcombine misses select i1 %X, %Y, %X
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: Scalar Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nicholas at mxc.ca
CC: llvmbugs at cs.uiuc.edu
I found this line of code in a testcase from Pypy. Not sure if this is actually
there or if it's just a bugpoint artefact, but regardless:
%v1650 = select i1 %v1652, i1 %v1653, i1 %v1652
should become %v1650 = and i1 %v1653, i1 %v1652. Similarly, the opposite
(switch the last two args to select) should become an Or. The codegen catches
these cases anyways.
--
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