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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to