[LLVMbugs] [Bug 14779] New: PPC64: Assertion failure in CodeGen/MachineInstr.cpp: "invalid pointer value"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 2 04:05:49 PST 2013


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

             Bug #: 14779
           Summary: PPC64: Assertion failure in CodeGen/MachineInstr.cpp:
                    "invalid pointer value"
           Product: new-bugs
           Version: trunk
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: kai at redstar.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9792
  --> http://llvm.org/bugs/attachment.cgi?id=9792
Bugpoint-reduced file demonstrating the failure.

The attached bugpoint-reduced-simplified.ll produces the following assertion
failure:

.../CodeGen/MachineInstr.cpp:429:
llvm::MachineMemOperand::MachineMemOperand(llvm::MachinePointerInfo, unsigned
int, uint64_t, unsigned int, const llvm::MDNode*, const llvm::MDNode*):
Assertion `(PtrInfo.V == 0 || isa<PointerType>(PtrInfo.V->getType())) &&
"invalid pointer value"' failed.

Stack dump:
0.      Program arguments: llc -filetype=obj b.ll
1.      Running pass 'Function Pass Manager' on module 'b.ll'.
2.      Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on
function
'@_D3std4file16timeLastModifiedFxAaS3std8datetime7SysTimeZS3std8datetime7SysTime'

On x86 and x86_64 the IR compiles.

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