[LLVMbugs] [Bug 14219] New: LoopIdiomRecognize crashes when using DependenceAnalysis

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 30 12:26:54 PDT 2012


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

             Bug #: 14219
           Summary: LoopIdiomRecognize crashes when using
                    DependenceAnalysis
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Core LLVM classes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nrotem at apple.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9462
  --> http://llvm.org/bugs/attachment.cgi?id=9462
1.ll

3 1  clang             0x000000010af0b0f9 SignalHandler(int) + 297
  4 2  libsystem_c.dylib 0x00007fff860a68ea _sigtramp + 26
  5 3  libsystem_c.dylib 0x00007fff572ba1b8 _sigtramp + 18446744072923199720
  6 4  clang             0x000000010ab5737d
llvm::DependenceAnalysis::gcdMIVtest(llvm::SCEV const*, llvm::SCEV const*,
llvm::FullDepe
  7 5  clang             0x000000010ab56bf2
llvm::DependenceAnalysis::testSIV(llvm::SCEV const*, llvm::SCEV const*,
unsigned int&, ll
  8 6  clang             0x000000010ab5d893
llvm::DependenceAnalysis::depends(llvm::Instruction const*, llvm::Instruction
const*, boo
  9 7  clang             0x000000010a91920f (anonymous
namespace)::LoopIdiomRecognize::processLoopStridedStore(llvm::Value*, unsigned
 10 8  clang             0x000000010a918c82 (anonymous
namespace)::LoopIdiomRecognize::processLoopStore(llvm::StoreInst*, llvm::SCEV
 11 9  clang             0x000000010a91892c (anonymous
namespace)::LoopIdiomRecognize::runOnLoopBlock(llvm::BasicBlock*, llvm::SCEV c
 12 10 clang             0x000000010a918762 (anonymous
namespace)::LoopIdiomRecognize::runOnLoop(llvm::Loop*, llvm::LPPassManager&) +
 13 11 clang             0x000000010abbcd06
llvm::LPPassManager::runOnFunction(llvm::Function&) + 1158
 14 12 clang             0x000000010ae7271a
llvm::FPPassManager::runOnFunction(llvm::Function&) + 442
 15 13 clang             0x000000010ab0b221 (anonymous
namespace)::CGPassManager::RunPassOnSCC(llvm::Pass*, llvm::CallGraphSCC&, llvm
 16 14 clang             0x000000010ab0ab83 (anonymous
namespace)::CGPassManager::RunAllPassesOnSCC(llvm::CallGraphSCC&, llvm::CallGr
 17 15 clang             0x000000010ab0a4e1 (anonymous
namespace)::CGPassManager::runOnModule(llvm::Module&) + 465
 18 16 clang             0x000000010ae72c6d
llvm::MPPassManager::runOnModule(llvm::Module&) + 493
 19 17 clang             0x000000010ae73367
llvm::PassManagerImpl::run(llvm::Module&) + 167
 20 18 clang             0x000000010ae73591
llvm::PassManager::run(llvm::Module&) + 33
 21 19 clang             0x0000000108bb9d1c (anonymous
namespace)::EmitAssemblyHelper::EmitAssembly(clang::BackendAction, llvm::raw_o
 22 20 clang             0x0000000108bb98f1
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::
 23 21 clang             0x0000000108d037c1
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 977
 24 22 clang             0x0000000108d73ba2 clang::ParseAST(clang::Sema&, bool,
bool) + 786
 25 23 clang             0x0000000108a0bbf8
clang::ASTFrontendAction::ExecuteAction() + 312
 26 24 clang             0x0000000108d02882
clang::CodeGenAction::ExecuteAction() + 1266
 27 25 clang             0x0000000108a0b80b clang::FrontendAction::Execute() +
235
 28 26 clang             0x00000001089d3a6f
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 863
 29 27 clang             0x00000001089598f7
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 999
 30 28 clang             0x0000000108942166 cc1_main(char const**, char
const**, char const*, void*) + 1094
 31 29 clang             0x0000000108953089 main + 473
 32 30 libdyld.dylib     0x00007fff84ca67e1 start + 0

Command line:

0.  Program arguments: /Users/nadav/devel/build/Debug+Asserts/bin/clang -cc1
-triple x86_64-apple-macosx10.8.0 
-emit-obj -disable-free -main-file-name claed0.c -pic-level 2 -mdisable-fp-elim
-masm-verbose 
-munwind-tables -target-cpu core2 -target-linker-version 134.9 -coverage-file 
/Users/nadav/devel/benchmark/CLAPACK-3.1.1.1/SRC/claed0.o -resource-dir 
/Users/nadav/devel/build/Debug+Asserts/bin/../lib/clang/3.2 -fmodule-cache-path 
/var/folders/3l/fbftyb9j46n5drhhsr2ywfn00000gn/T/clang-module-cache -O3
-fdebug-compilation-dir
 /Users/nadav/devel/benchmark/CLAPACK-3.1.1.1/SRC -ferror-limit 19
-fmessage-length 0 -stack-protector 1 
-mstackrealign -fblocks -fobjc-runtime=macosx-10.8.0
-fobjc-dispatch-method=mixed -fobjc-default-synthesize-properties 
-fdiagnostics-show-option -mllvm -vectorize-loops -mllvm
-debug-only=loop-vectorize -o claed0.o -x c claed0.c

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