[LLVMbugs] [Bug 12637] New: LLVM crashes with -O2 on ARM during SelectionDAG

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 23 09:52:18 PDT 2012


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

             Bug #: 12637
           Summary: LLVM crashes with -O2 on ARM during SelectionDAG
           Product: new-bugs
           Version: 3.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: weimingz at codeaurora.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8436
  --> http://llvm.org/bugs/attachment.cgi?id=8436
crashes with -O2

0  clang           0x0000000001aa62bf
1  clang           0x0000000001aa800a
2  libpthread.so.0 0x00007f669b56f8f0
3  clang           0x0000000001a911ce
llvm::FoldingSetImpl::RemoveNode(llvm::FoldingSetImpl::Node*) + 46
4  clang           0x00000000013f10de
llvm::SelectionDAG::RemoveNodeFromCSEMaps(llvm::SDNode*) + 78
5  clang           0x00000000013f184b
llvm::SelectionDAG::RemoveDeadNodes(llvm::SmallVectorImpl<llvm::SDNode*>&,
llvm::SelectionDAG::DAGUpdateListener*) + 91
6  clang           0x00000000013f5a37
llvm::SelectionDAG::RemoveDeadNode(llvm::SDNode*,
llvm::SelectionDAG::DAGUpdateListener*) + 583
7  clang           0x00000000014827b7
8  clang           0x000000000147ae8b
9  clang           0x000000000148001c llvm::SelectionDAG::Legalize() + 236
10 clang           0x0000000001454268
llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 488
11 clang           0x0000000001455a51
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 161
12 clang           0x000000000145b93f
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 1999
13 clang           0x000000000145cb05
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 677
14 clang           0x00000000019ffb39
llvm::FPPassManager::runOnFunction(llvm::Function&) + 521
15 clang           0x00000000019ffbd3
llvm::FPPassManager::runOnModule(llvm::Module&) + 51
16 clang           0x00000000019ff79e
llvm::MPPassManager::runOnModule(llvm::Module&) + 462
17 clang           0x00000000019ff8ad llvm::PassManagerImpl::run(llvm::Module&)
+ 125
18 clang           0x0000000000768758
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 1544
19 clang           0x0000000000765044 clang::CodeGenAction::ExecuteAction() +
628
20 clang           0x0000000000610b79
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 265
21 clang           0x00000000005fbc5c
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1308
22 clang           0x00000000005f26b0 cc1_main(char const**, char const**, char
const*, void*) + 1056
23 clang           0x00000000005fac9c main + 6780
24 libc.so.6       0x00007f669a849c4d __libc_start_main + 253
25 clang           0x00000000005f02a9
Stack dump:
0.    Program arguments: /home/llvm/bin/clang -cc1 -triple
armv4t-none-linux-gnueabi -S -disable-free -disable-llvm-verifier
-main-file-name crash03.ll -mrelocation-model static -mdisable-fp-elim
-mconstructor-aliases -target-abi aapcs-linux -target-cpu arm7tdmi -mfloat-abi
soft -target-feature +soft-float-abi -target-feature +neon
-target-linker-version 2.20.1 -momit-leaf-frame-pointer -resource-dir
/home/llvm/bin/../lib/clang/3.1 -O2 -fno-dwarf-directory-asm
-fdebug-compilation-dir /prj/llvm-arm/home/weimingz/plumhall -ferror-limit 19
-fmessage-length 150 -mstackrealign -fno-signed-char -fgnu-runtime
-fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi
-fdiagnostics-show-option -fcolor-diagnostics -o /tmp/crash03-4peps8.s -x ir
crash03.ll

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