Skip to content

A LLVM IR file that causes a segfault in llc #9579

@sylvestre

Description

@sylvestre
Bugzilla Link 9207
Resolution INVALID
Resolved on Feb 13, 2011 13:09
Version trunk
OS Linux
Attachments LLVM IR

Extended Description

The attached code built with the following command:
llc-2.8 testasm.ll -o testasm.s

Crashes:

PHI node entries do not match predecessors!
%init.index = phi i64 [ 0, %init.top ], [ %init.index.next, %init.top ]
label %init.top
label %enter.good
Broken module found, compilation aborted!
0 libLLVM-2.8.so.1 0x00007f76a98b50df
1 libLLVM-2.8.so.1 0x00007f76a98b5b9a
2 libpthread.so.0 0x00007f76a8b8ef60
3 libc.so.6 0x00007f76a7ca5165 gsignal + 53
4 libc.so.6 0x00007f76a7ca7f70 abort + 384
5 libLLVM-2.8.so.1 0x00007f76a94dcb9f
6 libLLVM-2.8.so.1 0x00007f76a94bb5f9 llvm::FPPassManager::runOnFunction(llvm::Function&) + 521
7 libLLVM-2.8.so.1 0x00007f76a94bb6ab llvm::FPPassManager::runOnModule(llvm::Module&) + 75
8 libLLVM-2.8.so.1 0x00007f76a94bb2c4 llvm::MPPassManager::runOnModule(llvm::Module&) + 468
9 libLLVM-2.8.so.1 0x00007f76a94bb3bb llvm::PassManagerImpl::run(llvm::Module&) + 107
10 llc-2.8 0x0000000000407f2d main + 3981
11 libc.so.6 0x00007f76a7c91c4d __libc_start_main + 253
12 llc-2.8 0x0000000000406269
Stack dump:
0. Program arguments: llc-2.8 testasm.ll -o testasm.s

  1. Running pass 'Function Pass Manager' on module 'testasm.ll'.
  2. Running pass 'Module Verifier' on function '@enterLeave'
    Abandon

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillainvalidResolved as invalid, i.e. not a bugllvm:core

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions