Open llvmbot opened 11 years ago
It seems that the CFG is ill-formed. Simplifying the loop by: opt -simplifycfg lewp2.bc would solve the problem.
The .bc file is too large to add as an attachment to bugzilla and I haven't been able to pare it down to a smaller size.
Here is a link to my public directory on Dropbox that contains the .bc file.
Extended Description
The following assertion fails when I run "llc -O2 lewp2.bc" on the attached .bc file. I'm generating this IR in a common lisp compiler that I'm writing when I don't use a function-pass-manager because I'm debugging the raw IR.
fry:bug-reports$ llc -O2 lewp2.bc Assertion failed: (HasInsideLoopSuccs && "Loop block has no in-loop successors!"), function verifyLoop, file /Users/meister/Development/cando/externals/src/llvm/include/llvm/Analysis/LoopInfoImpl.h, line 297.