[LLVMbugs] [Bug 11218] New: CodeGen/PowerPC/2008-10-17-AsmMatchingOperands.ll might not crash (XPASS) with -Asserts

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Oct 23 20:19:39 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=11218

           Summary: CodeGen/PowerPC/2008-10-17-AsmMatchingOperands.ll
                    might not crash (XPASS) with -Asserts
           Product: new-bugs
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: geek4civic at gmail.com
                CC: llvmbugs at cs.uiuc.edu
            Blocks: 11199


This is marked as XFAIL:*, and I saw this XPASSed on cygwin -Asserts,
release_30.

This depends on +Asserts.

$ llc < CodeGen/PowerPC/2008-10-17-AsmMatchingOperands.ll

assertion "Reg < Regs.size() && "Mismatch in # registers expected"" failed:
file
"/cygdrive/e/llvm/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp",
line 810, function: void<unnamed>::RegsForValue::AddInlineAsmOperands(unsigned
int, bool, unsigned int, llvm::SelectionDAG&,
std::vector<llvm::SDValue,std::allocator<llvm::SDValue> >&) const

It might be easier to mark this as "REQUIRES: asserts". Any idea?

-- 
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