[LLVMbugs] [Bug 12650] New: assertion raises with fcmp related ll code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 24 20:52:06 PDT 2012


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

             Bug #: 12650
           Summary: assertion raises with fcmp related ll code
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: llc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sf_knue at web.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8446
  --> http://llvm.org/bugs/attachment.cgi?id=8446
this file causes llc to crash

The attached file raises an assertion when running:

$ llc simple.ll 
llc: /home/rleissa/projects/llvm/llvm/include/llvm/CodeGen/ValueTypes.h:568:
llvm::MVT llvm::EVT::getSimpleVT() const: Assertion `isSimple() && "Expected a
SimpleValueType!"' failed.
0  llc             0x00000000012caab9
1  llc             0x00000000012ca811
2  libpthread.so.0 0x00007f0d2240e140
3  libc.so.6       0x00007f0d21680c35 gsignal + 53
4  libc.so.6       0x00007f0d216820b8 abort + 328
5  libc.so.6       0x00007f0d21679c12
6  libc.so.6       0x00007f0d21679cc2
7  llc             0x00000000009471a0
8  llc             0x0000000000a8e868
9  llc             0x0000000000bddba0
10 llc             0x0000000000bdd436
11 llc             0x0000000000be0ee6 llvm::SelectionDAG::LegalizeVectors() +
44
12 llc             0x0000000000b6db5e
llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 1950
13 llc             0x0000000000b6d070
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 260
14 llc             0x0000000000b6fde3
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 2865
15 llc             0x0000000000b6c4bc
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 864
16 llc             0x0000000000cf0dcd
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 95
17 llc             0x000000000124c059
llvm::FPPassManager::runOnFunction(llvm::Function&) + 383
18 llc             0x000000000124c26c
llvm::FPPassManager::runOnModule(llvm::Module&) + 102
19 llc             0x000000000124c5c9
llvm::MPPassManager::runOnModule(llvm::Module&) + 495
20 llc             0x000000000124caea llvm::PassManagerImpl::run(llvm::Module&)
+ 120
21 llc             0x000000000124cc9d llvm::PassManager::run(llvm::Module&) +
39
22 llc             0x00000000008ac897 main + 3502
23 libc.so.6       0x00007f0d2166d455 __libc_start_main + 245
24 llc             0x00000000008ab2f9
Stack dump:
0.      Program arguments: llc ../sierra/libsierra/simple.ll 
1.      Running pass 'Function Pass Manager' on module
'../sierra/libsierra/simple.ll'.
2.      Running pass 'X86 DAG->DAG Instruction Selection' on function
'@_Z4testDv4_fS_'
Aborted

I'm on llvm trunk. Most likely the same problem arises when doing this in
current llvm 3.1 branch

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