HSAFoundation / HSAIL-HLC-Stable

LLVM-based high-level-compiler (HLC) that generates HSAIL. The Stable version includes optimizations, atomics, and is provided in binary form. See also the HSAIL-HLC-Development version for other options.
Other
14 stars 3 forks source link

llc hang #4

Open scchan opened 10 years ago

scchan commented 10 years ago

llc hangs when compiling the "5_Data_Cont/5_1_array/5_1_2_c/Extent_Acclvw/General/Test.03/test.cpp" test in AMP conformance.

Traceback:

#0  0x00000000010bfbbd in llvm::FoldingSetTrait<llvm::SCEV>::Equals(llvm::SCEV const&, llvm::FoldingSetNodeID const&, unsigned int, llvm::FoldingSetNodeID&)
    ()
#1  0x00000000010d5a14 in llvm::FoldingSet<llvm::SCEV>::NodeEquals(llvm::FoldingSetImpl::Node*, llvm::FoldingSetNodeID const&, unsigned int, llvm::FoldingSetNodeID&) const ()
#2  0x00000000012b76fa in llvm::FoldingSetImpl::FindNodeOrInsertPos(llvm::FoldingSetNodeID const&, void*&) ()
#3  0x00000000010c19b1 in llvm::FoldingSet<llvm::SCEV>::FindNodeOrInsertPos(llvm::FoldingSetNodeID const&, void*&) ()
#4  0x00000000010a228c in llvm::ScalarEvolution::getAddExpr(llvm::SmallVectorImpl<llvm::SCEV const*>&, llvm::SCEV::NoWrapFlags) ()
#5  0x0000000000f9942f in llvm::ScalarEvolution::getAddExpr(llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV::NoWrapFlags) ()
#6  0x000000000109f13f in llvm::ScalarEvolution::getSignExtendExpr(llvm::SCEV const*, llvm::Type*) ()
#7  0x000000000109f08e in llvm::ScalarEvolution::getSignExtendExpr(llvm::SCEV const*, llvm::Type*) ()
#8  0x000000000109f08e in llvm::ScalarEvolution::getSignExtendExpr(llvm::SCEV const*, llvm::Type*) ()
...
#382 0x0000000001038c23 in llvm::IVUsers::AddUsersImpl(llvm::Instruction*, llvm::SmallPtrSet<llvm::Loop*, 16u>&) ()
#383 0x0000000001038c23 in llvm::IVUsers::AddUsersImpl(llvm::Instruction*, llvm::SmallPtrSet<llvm::Loop*, 16u>&) ()
#384 0x0000000001038c23 in llvm::IVUsers::AddUsersImpl(llvm::Instruction*, llvm::SmallPtrSet<llvm::Loop*, 16u>&) ()
#385 0x0000000001038c23 in llvm::IVUsers::AddUsersImpl(llvm::Instruction*, llvm::SmallPtrSet<llvm::Loop*, 16u>&) ()
#386 0x0000000001038c23 in llvm::IVUsers::AddUsersImpl(llvm::Instruction*, llvm::SmallPtrSet<llvm::Loop*, 16u>&) ()
#387 0x0000000001038c23 in llvm::IVUsers::AddUsersImpl(llvm::Instruction*, llvm::SmallPtrSet<llvm::Loop*, 16u>&) ()
#388 0x0000000001038ee1 in llvm::IVUsers::AddUsersIfInteresting(llvm::Instruction*) ()
#389 0x0000000001039144 in llvm::IVUsers::runOnLoop(llvm::Loop*, llvm::LPPassManager&) ()
#390 0x000000000105d0f9 in llvm::LPPassManager::runOnFunction(llvm::Function&) ()
#391 0x00000000011fa8b1 in llvm::FPPassManager::runOnFunction(llvm::Function&) ()
#392 0x00000000011faa70 in llvm::FPPassManager::runOnModule(llvm::Module&) ()
#393 0x00000000011fad69 in llvm::MPPassManager::runOnModule(llvm::Module&) ()
---Type <return> to continue, or q <return> to quit---
#394 0x00000000011fb2cc in llvm::PassManagerImpl::run(llvm::Module&) ()
#395 0x00000000011fb4ad in llvm::PassManager::run(llvm::Module&) ()
#396 0x00000000008a9fb3 in main ()

'''
scchan commented 10 years ago

Prakash, I'll send you the test case offline, could you take a look? Thanks.