[LLVMbugs] [Bug 2994] New: assertion in indvars pass
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri Oct 31 06:03:37 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2994
Summary: assertion in indvars pass
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: richard at xmos.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2170)
--> (http://llvm.org/bugs/attachment.cgi?id=2170)
testcase
Running opt bugpoint-reduced-simplified.bc -indvars with the attached .bc file
causes the following assertion:
opt: /homelocal/richard/8_11/tools_llvm/src/lib/Support/APInt.cpp:1718:
llvm::APInt llvm::APInt::udiv(const llvm::APInt&) const: Assertion `RHS.VAL !=
0 && "Divide by zero?"' failed.
opt[0xac07da]
opt[0xac08f1]
/lib64/tls/libc.so.6[0x356b22e2f0]
/lib64/tls/libc.so.6(gsignal+0x3d)[0x356b22e25d]
/lib64/tls/libc.so.6(abort+0xfe)[0x356b22fa5e]
/lib64/tls/libc.so.6(__assert_fail+0xf1)[0x356b227ae1]
opt(_ZNK4llvm5APInt4udivERKS0_+0x6c)[0xa96f80]
opt(_ZNK4llvm5APInt4sdivERKS0_+0x11a)[0x89c02c]
opt[0x9b1f98]
opt(_ZNK4llvm14SCEVAddRecExpr23getNumIterationsInRangeENS_13ConstantRangeERNS_15ScalarEvolutionE+0x636)[0x9b322c]
opt(_ZNK4llvm14SCEVAddRecExpr23getNumIterationsInRangeENS_13ConstantRangeERNS_15ScalarEvolutionE+0x1a5)[0x9b2d9b]
opt(_ZN40_GLOBAL__N__ZN4llvm15ScalarEvolution2IDE20ScalarEvolutionsImpl21ComputeIterationCountEPKN4llvm8LoopBaseINS1_10BasicBlockEEE+0x6c5)[0x9af7d1]
opt(_ZN40_GLOBAL__N__ZN4llvm15ScalarEvolution2IDE20ScalarEvolutionsImpl17getIterationCountEPKN4llvm8LoopBaseINS1_10BasicBlockEEE+0x67)[0x9aefcf]
opt(_ZNK4llvm15ScalarEvolution17getIterationCountEPKNS_8LoopBaseINS_10BasicBlockEEE+0x28)[0x9b3832]
opt(_ZN108_GLOBAL__N__homelocal_richard_8_11_tools_llvm_src_lib_Transforms_Scalar_IndVarSimplify.cpp_DD76033A_235439B414IndVarSimplify9runOnLoopEPN4llvm8LoopBaseINS1_10BasicBlockEEERNS1_13LPPassManagerE+0x9b)[0x85ebe7]
opt(_ZN4llvm13LPPassManager13runOnFunctionERNS_8FunctionE+0x38e)[0x9942c6]
opt(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x111)[0xa559a9]
opt(_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE+0x61)[0xa55af5]
opt(_ZN4llvm13MPPassManager11runOnModuleERNS_6ModuleE+0xd8)[0xa55c00]
opt(_ZN4llvm15PassManagerImpl3runERNS_6ModuleE+0x94)[0xa55f98]
opt(_ZN4llvm11PassManager3runERNS_6ModuleE+0x21)[0xa56249]
opt(main+0xf29)[0x7c6591]
/lib64/tls/libc.so.6(__libc_start_main+0xdb)[0x356b21c3fb]
opt(fmod+0xb2)[0x7b7e3a]
Aborted
--
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