[LLVMbugs] [Bug 11932] New: PowerPC 64 code generation failure.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 6 04:09:16 PST 2012


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

             Bug #: 11932
           Summary: PowerPC 64 code generation failure.
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rich at pennware.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8003
  --> http://llvm.org/bugs/attachment.cgi?id=8003
Test case.

The attached file causes a crash on ppc64. ppc32 compiles a similar file fine.
This problem came in between r149184 and r149781.

[~/ellcc/libecc/obj/ppc64/linux/c] main% ~/vendor/llvm-build/bin/llc exit.ll
llc:
/home/rich/vendor/llvm-build/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:379:
unsigned int llvm::SDNode::getMachineOpcode() const: Assertion
`isMachineOpcode() && "Not a MachineInstr opcode!"' failed.
0  llc             0x000000000104691f
1  llc             0x000000000104745a
2  libpthread.so.0 0x0000003ecca0eeb0
3  libc.so.6       0x0000003ecbe330c5 gsignal + 53
4  libc.so.6       0x0000003ecbe34a76 abort + 390
5  libc.so.6       0x0000003ecbe2b905 __assert_fail + 245
6  llc             0x0000000000a71386
llvm::InstrEmitter::EmitMachineNode(llvm::SDNode*, bool, bool,
llvm::DenseMap<llvm::SDValue, unsigned int, llvm::DenseMapInfo<llvm::SDValue>,
llvm::DenseMapInfo<unsigned int> >&) + 2022
7  llc             0x00000000009bf62d llvm::ScheduleDAGSDNodes::EmitSchedule()
+ 909
8  llc             0x0000000000a42e63
llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 1651
9  llc             0x0000000000a45e60
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 2592
10 llc             0x0000000000a48103
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 1251
11 llc             0x000000000081af26
12 llc             0x0000000000fde03f
llvm::FPPassManager::runOnFunction(llvm::Function&) + 655
13 llc             0x0000000000fde0e3
llvm::FPPassManager::runOnModule(llvm::Module&) + 51
14 llc             0x0000000000fddaf4
llvm::MPPassManager::runOnModule(llvm::Module&) + 548
15 llc             0x0000000000fddc5b llvm::PassManagerImpl::run(llvm::Module&)
+ 187
16 llc             0x000000000050b6e2 main + 5314
17 libc.so.6       0x0000003ecbe1ee5d __libc_start_main + 253
18 llc             0x00000000005071b9
Stack dump:
0.      Program arguments: /home/rich/vendor/llvm-build/bin/llc exit.ll 
1.      Running pass 'Function Pass Manager' on module 'exit.ll'.
2.      Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on
function '@ext'
Abort (core dumped)
[~/ellcc/libecc/obj/ppc64/linux/c] main%

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