Test source: git
RUN: at line 2: not --crash /home/nlopes/alive2/build/opt-alive.sh -mtriple=x86_64 -mattr=-avx,-avx2,-avx512f,+sse,-sse2,-sse3,-sse4.2 -passes=loop-vectorize -S < /bitbucket/nlopes/llvm/llvm/test/Transforms/LoopVectorize/X86/pr72969.ll + not --crash /home/nlopes/alive2/build/opt-alive.sh -mtriple=x86_64 -mattr=-avx,-avx2,-avx512f,+sse,-sse2,-sse3,-sse4.2 -passes=loop-vectorize -S opt: /home/nlopes/llvm/llvm/include/llvm/Support/Casting.h:578: decltype(auto) llvm::cast(From*) [with To = VectorType; From = Type]: Assertion `isa<To>(Val) && "cast<Ty>() argument of incompatible type!"' failed. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump: 0. Program arguments: /home/nlopes/llvm/build/bin/opt -load=/home/nlopes/alive2/build/tv/tv.so -load-pass-plugin=/home/nlopes/alive2/build/tv/tv.so -tv-exit-on-error -mtriple=x86_64 -mattr=-avx,-avx2,-avx512f,+sse,-sse2,-sse3,-sse4.2 -passes=loop-vectorize -S -tv-smt-to=20000 -tv-report-dir=/home/nlopes/alive2/build/logs -tv-smt-stats Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): 0 libLLVMSupport.so.19.0git 0x00007fe9487f746b llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 43 1 libLLVMSupport.so.19.0git 0x00007fe9487f46eb llvm::sys::RunSignalHandlers() + 43 2 libLLVMSupport.so.19.0git 0x00007fe9487f4815 3 libc.so.6 0x00007fe947e3e6f0 4 libc.so.6 0x00007fe947e8b94c 5 libc.so.6 0x00007fe947e3e646 raise + 22 6 libc.so.6 0x00007fe947e287f3 abort + 211 7 libc.so.6 0x00007fe947e2871b 8 libc.so.6 0x00007fe947e37386 9 libLLVMVectorize.so.19.0git 0x00007fe949e6e8cf 10 libLLVMVectorize.so.19.0git 0x00007fe949ea7768 llvm::LoopVectorizationCostModel::getInstructionCost(llvm::Instruction*, llvm::ElementCount, llvm::Type*&) + 4552 11 libLLVMVectorize.so.19.0git 0x00007fe949ea7fef llvm::LoopVectorizationCostModel::getInstructionCost(llvm::Instruction*, llvm::ElementCount) + 255 12 libLLVMVectorize.so.19.0git 0x00007fe949ea86cc llvm::LoopVectorizationCostModel::expectedCost(llvm::ElementCount, llvm::SmallVectorImpl<std::pair<llvm::Instruction*, llvm::ElementCount>>*) + 684 13 libLLVMVectorize.so.19.0git 0x00007fe949eaa7b9 llvm::LoopVectorizationPlanner::selectVectorizationFactor(llvm::SmallSet<llvm::ElementCount, 16u, llvm::ElementCountComparator> const&) + 1753 14 libLLVMVectorize.so.19.0git 0x00007fe949ec3ef3 llvm::LoopVectorizationPlanner::plan(llvm::ElementCount, unsigned int) + 1443 15 libLLVMVectorize.so.19.0git 0x00007fe949ec5ae8 llvm::LoopVectorizePass::processLoop(llvm::Loop*) + 4744 16 libLLVMVectorize.so.19.0git 0x00007fe949ec8ce1 llvm::LoopVectorizePass::runImpl(llvm::Function&, llvm::ScalarEvolution&, llvm::LoopInfo&, llvm::TargetTransformInfo&, llvm::DominatorTree&, llvm::BlockFrequencyInfo*, llvm::TargetLibraryInfo*, llvm::DemandedBits&, llvm::AssumptionCache&, llvm::LoopAccessInfoManager&, llvm::OptimizationRemarkEmitter&, llvm::ProfileSummaryInfo*) + 449 17 libLLVMVectorize.so.19.0git 0x00007fe949ec9b78 llvm::LoopVectorizePass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) + 1544 18 libLLVMPasses.so.19.0git 0x00007fe94bebcc3d 19 libLLVMAMDGPUCodeGen.so.19.0git 0x00007fe9501a27c8 20 libLLVMCore.so.19.0git 0x00007fe948d37626 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 550 21 libLLVMAMDGPUCodeGen.so.19.0git 0x00007fe95018460d 22 libLLVMCore.so.19.0git 0x00007fe948d351e5 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 1317 23 libLLVMOptDriver.so.19.0git 0x00007fe951b26250 llvm::runPassPipeline(llvm::StringRef, llvm::Module&, llvm::TargetMachine*, llvm::TargetLibraryInfoImpl*, llvm::ToolOutputFile*, llvm::ToolOutputFile*, llvm::ToolOutputFile*, llvm::StringRef, llvm::ArrayRef<llvm::PassPlugin>, llvm::ArrayRef<std::function<void (llvm::PassBuilder&)>>, llvm::opt_tool::OutputKind, llvm::opt_tool::VerifierKind, bool, bool, bool, bool, bool, bool, bool) + 8160 24 libLLVMOptDriver.so.19.0git 0x00007fe951b32da7 optMain + 11655 25 libc.so.6 0x00007fe947e29590 26 libc.so.6 0x00007fe947e29640 __libc_start_main + 128 27 opt 0x0000000000402075 _start + 37 /home/nlopes/alive2/build/opt-alive.sh: line 93: 3448756 Aborted $COMMAND