[LLVMbugs] [Bug 6193] New: crash in instcombine in MatchSelectFromAndOr

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Jan 31 23:56:31 PST 2010


           Summary: crash in instcombine in MatchSelectFromAndOr
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu
            Blocks: 5511

define i32 @x(i32 %aMaskWidth, i8 %aStride) nounwind {
  %conv41 = sext i8 %aStride to i32
  %neg = xor i32 %conv41, -1
  %and42 = and i32 %aMaskWidth, %neg
  %and47 = and i32 130, %conv41
  %or = or i32 %and42, %and47
  ret i32 %or

Currently crashes with opt -instcombine.  I think there's an issue involving
r94339 ("change the canonical form of 'cond ? -1 : 0' to be 'sext cond' instead
of a select").

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