[LLVMbugs] [Bug 19635] New: Crash when compiling function returning zeroext i2
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri May 2 07:52:54 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19635
Bug ID: 19635
Summary: Crash when compiling function returning zeroext i2
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: jaak.randmets at cyber.ee
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
When trying to compile the following code:
define zeroext i2 @crash () {
ret i2 0
}
with llc I get crash and following stack trace:
$ llc crash.ll
0 libLLVM-3.5.0svn.so 0x00007ffe0a0e5dd2 llvm::sys::PrintStackTrace(_IO_FILE*)
+ 34
1 libLLVM-3.5.0svn.so 0x00007ffe0a0e597c
2 libpthread.so.0 0x00007ffe097dfbb0
3 libLLVM-3.5.0svn.so 0x00007ffe0a538124 llvm::EVT::isExtendedVector() const +
4
4 libLLVM-3.5.0svn.so 0x00007ffe0a20f70d
5 libLLVM-3.5.0svn.so 0x00007ffe0a2259f5
llvm::SelectionDAGBuilder::visitRet(llvm::ReturnInst const&) + 1013
6 libLLVM-3.5.0svn.so 0x00007ffe0a240bd4
llvm::SelectionDAGBuilder::visit(llvm::Instruction const&) + 52
7 libLLVM-3.5.0svn.so 0x00007ffe0a24c2a1
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 49
8 libLLVM-3.5.0svn.so 0x00007ffe0a24f172
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 1170
9 libLLVM-3.5.0svn.so 0x00007ffe0a250471
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 929
10 libLLVM-3.5.0svn.so 0x00007ffe0a518f90
llvm::FPPassManager::runOnFunction(llvm::Function&) + 656
11 libLLVM-3.5.0svn.so 0x00007ffe0a51902b
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
12 libLLVM-3.5.0svn.so 0x00007ffe0a51b3f8
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 728
13 llc 0x000000000040d6b2
14 llc 0x0000000000408420 main + 224
15 libc.so.6 0x00007ffe085a2965 __libc_start_main + 245
16 llc 0x0000000000408479
Stack dump:
0. Program arguments: llc crash.ll
1. Running pass 'Function Pass Manager' on module 'crash.ll'.
2. Running pass 'X86 DAG->DAG Instruction Selection' on function '@crash'
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140502/bb47687e/attachment.html>
More information about the llvm-bugs
mailing list