Closed atmnpatel closed 4 months ago
If you apply the attached patch and try to run the example pass loops on example 0, you get the following failure.
loops
0
opt: /project/extra/llvm/9.0.0/release/include/llvm/PassAnalysisSupport.h:262: AnalysisType &llvm::Pass::getAnalysisID(llvm::AnalysisID, llvm::Function &) [AnalysisType = llvm::LoopInfoWrapperPass]: Assertion `ResultPass && "Unable to find requested analysis info"' failed.
getLoopStructuresBug.patch
If you apply the attached patch and try to run the example pass
loops
on example0
, you get the following failure.opt: /project/extra/llvm/9.0.0/release/include/llvm/PassAnalysisSupport.h:262: AnalysisType &llvm::Pass::getAnalysisID(llvm::AnalysisID, llvm::Function &) [AnalysisType = llvm::LoopInfoWrapperPass]: Assertion `ResultPass && "Unable to find requested analysis info"' failed.
getLoopStructuresBug.patch