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 0x00007f05ab7f62eb llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 43 1 libLLVMSupport.so.19.0git 0x00007f05ab7f356b llvm::sys::RunSignalHandlers() + 43 2 libLLVMSupport.so.19.0git 0x00007f05ab7f3695 3 libc.so.6 0x00007f05aae3e6f0 4 libc.so.6 0x00007f05aae8b94c 5 libc.so.6 0x00007f05aae3e646 raise + 22 6 libc.so.6 0x00007f05aae287f3 abort + 211 7 libc.so.6 0x00007f05aae2871b 8 libc.so.6 0x00007f05aae37386 9 libLLVMVectorize.so.19.0git 0x00007f05ace6cdef 10 libLLVMVectorize.so.19.0git 0x00007f05acea3de8 llvm::LoopVectorizationCostModel::getInstructionCost(llvm::Instruction*, llvm::ElementCount, llvm::Type*&) + 4552 11 libLLVMVectorize.so.19.0git 0x00007f05acea465f llvm::LoopVectorizationCostModel::getInstructionCost(llvm::Instruction*, llvm::ElementCount) + 255 12 libLLVMVectorize.so.19.0git 0x00007f05acea4d3c llvm::LoopVectorizationCostModel::expectedCost(llvm::ElementCount, llvm::SmallVectorImpl<std::pair<llvm::Instruction*, llvm::ElementCount>>*) + 684 13 libLLVMVectorize.so.19.0git 0x00007f05acea6e79 llvm::LoopVectorizationPlanner::selectVectorizationFactor(llvm::SmallSet<llvm::ElementCount, 16u, llvm::ElementCountComparator> const&) + 1753 14 libLLVMVectorize.so.19.0git 0x00007f05acec12f0 llvm::LoopVectorizationPlanner::plan(llvm::ElementCount, unsigned int) + 1616 15 libLLVMVectorize.so.19.0git 0x00007f05acec3198 llvm::LoopVectorizePass::processLoop(llvm::Loop*) + 4744 16 libLLVMVectorize.so.19.0git 0x00007f05acec6391 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 0x00007f05acec7228 llvm::LoopVectorizePass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) + 1544 18 libLLVMPasses.so.19.0git 0x00007f05aeeba93d 19 libLLVMAMDGPUCodeGen.so.19.0git 0x00007f05b319fbf7 20 libLLVMCore.so.19.0git 0x00007f05abd35736 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 550 21 libLLVMAMDGPUCodeGen.so.19.0git 0x00007f05b3181cdd 22 libLLVMCore.so.19.0git 0x00007f05abd33305 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 1301 23 libLLVMOptDriver.so.19.0git 0x00007f05b4aaa2b0 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 0x00007f05b4ab6e07 optMain + 11655 25 libc.so.6 0x00007f05aae29590 26 libc.so.6 0x00007f05aae29640 __libc_start_main + 128 27 opt 0x0000000000402075 _start + 37 /home/nlopes/alive2/build/opt-alive.sh: line 93: 539339 Aborted $COMMAND