[llvm] [CodeGen] Remove `applySplitCriticalEdges` in `MachineDominatorTree` (PR #97055)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 29 18:01:46 PDT 2024
paperchalice wrote:
```sh
| mlir-cpu-runner: /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-r65q2-1/llvm-project/github-pull-requests/llvm/lib/CodeGen/LiveVariables.cpp:111: void llvm::LiveVariables::MarkVirtRegAliveInBlock(VarInfo &, MachineBasicBlock *, MachineBasicBlock *, SmallVectorImpl<MachineBasicBlock *> &): Assertion `MBB != &MF->front() && "Can't find reaching def for virtreg"' failed.
_bk;t=1719662942664# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
_bk;t=1719662942664# | Stack dump:
_bk;t=1719662942664# | 0. Program arguments: /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-r65q2-1/llvm-project/github-pull-requests/build/bin/mlir-cpu-runner -e main -entry-point-result=void -O0 -shared-libs=/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-r65q2-1/llvm-project/github-pull-requests/build/lib/libmlir_c_runner_utils.so -shared-libs=/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-r65q2-1/llvm-project/github-pull-requests/build/lib/libmlir_runner_utils.so -shared-libs=/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-r65q2-1/llvm-project/github-pull-requests/build/lib/libmlir_float16_utils.so
_bk;t=1719662942664# | 1. Running pass 'Function Pass Manager' on module 'LLVMDialectModule'.
_bk;t=1719662942664# | 2. Running pass 'Live Variable Analysis' on function '@func_roundeven32'
_bk;t=1719662942664# | 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):
_bk;t=1719662942664# | 0 mlir-cpu-runner 0x0000589f4d4cd148 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 40
_bk;t=1719662942664# | 1 mlir-cpu-runner 0x0000589f4d4cac6e llvm::sys::RunSignalHandlers() + 238
_bk;t=1719662942664# | 2 mlir-cpu-runner 0x0000589f4d4cdb08
_bk;t=1719662942664# | 3 libc.so.6 0x00007f6ee05b6520
_bk;t=1719662942664# | 4 libc.so.6 0x00007f6ee060a9fc pthread_kill + 300
_bk;t=1719662942664# | 5 libc.so.6 0x00007f6ee05b6476 raise + 22
_bk;t=1719662942664# | 6 libc.so.6 0x00007f6ee059c7f3 abort + 211
_bk;t=1719662942664# | 7 libc.so.6 0x00007f6ee059c71b
_bk;t=1719662942664# | 8 libc.so.6 0x00007f6ee05ade96
_bk;t=1719662942664# | 9 mlir-cpu-runner 0x0000589f4edc6859
_bk;t=1719662942664# | 10 mlir-cpu-runner 0x0000589f4edca788 llvm::LiveVariables::runOnBlock(llvm::MachineBasicBlock*, unsigned int) + 872
_bk;t=1719662942664# | 11 mlir-cpu-runner 0x0000589f4edcae5f llvm::LiveVariables::runOnMachineFunction(llvm::MachineFunction&) + 751
_bk;t=1719662942664# | 12 mlir-cpu-runner 0x0000589f4ee32942 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 706
_bk;t=1719662942664# | 13 mlir-cpu-runner 0x0000589f4d6692fc llvm::FPPassManager::runOnFunction(llvm::Function&) + 1340
_bk;t=1719662942664# | 14 mlir-cpu-runner 0x0000589f4d671872 llvm::FPPassManager::runOnModule(llvm::Module&) + 50
_bk;t=1719662942664# | 15 mlir-cpu-runner 0x0000589f4d669e77 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 2007
_bk;t=1719662942664# | 16 mlir-cpu-runner 0x0000589f4df53775 llvm::orc::SimpleCompiler::operator()(llvm::Module&) + 389
_bk;t=1719662942664# | 17 mlir-cpu-runner 0x0000589f4dfacff6
_bk;t=1719662942664# | 18 mlir-cpu-runner 0x0000589f4dfacccf llvm::orc::IRCompileLayer::emit(std::unique_ptr<llvm::orc::MaterializationResponsibility, std::default_delete<llvm::orc::MaterializationResponsibility>>, llvm::orc::ThreadSafeModule) + 79
_bk;t=1719662942664# | 19 mlir-cpu-runner 0x0000589f4dfc7c13 llvm::orc::IRTransformLayer::emit(std::unique_ptr<llvm::orc::MaterializationResponsibility, std::default_delete<llvm::orc::MaterializationResponsibility>>, llvm::orc::ThreadSafeModule) + 259
_bk;t=1719662942664# | 20 mlir-cpu-runner 0x0000589f4dfc7c13 llvm::orc::IRTransformLayer::emit(std::unique_ptr<llvm::orc::MaterializationResponsibility, std::default_delete<llvm::orc::MaterializationResponsibility>>, llvm::orc::ThreadSafeModule) + 259
_bk;t=1719662942664# | 21 mlir-cpu-runner 0x0000589f4dfb0abd llvm::orc::BasicIRLayerMaterializationUnit::materialize(std::unique_ptr<llvm::orc::MaterializationResponsibility, std::default_delete<llvm::orc::MaterializationResponsibility>>) + 541
_bk;t=1719662942664# | 22 mlir-cpu-runner 0x0000589f4df6c898 llvm::orc::MaterializationTask::run() + 40
_bk;t=1719662942664# | 23 mlir-cpu-runner 0x0000589f4df56734
_bk;t=1719662942664# | 24 mlir-cpu-runner 0x0000589f4df6ee0a llvm::orc::ExecutionSession::dispatchOutstandingMUs() + 634
_bk;t=1719662942664# | 25 mlir-cpu-runner 0x0000589f4df720ef llvm::orc::ExecutionSession::OL_completeLookup(std::unique_ptr<llvm::orc::InProgressLookupState, std::default_delete<llvm::orc::InProgressLookupState>>, std::shared_ptr<llvm::orc::AsynchronousSymbolQuery>, std::function<void (llvm::DenseMap<llvm::orc::JITDylib*, llvm::DenseSet<llvm::orc::SymbolStringPtr, llvm::DenseMapInfo<llvm::orc::SymbolStringPtr, void>>, llvm::DenseMapInfo<llvm::orc::JITDylib*, void>, llvm::detail::DenseMapPair<llvm::orc::JITDylib*, llvm::DenseSet<llvm::orc::SymbolStringPtr, llvm::DenseMapInfo<llvm::orc::SymbolStringPtr, void>>>> const&)>) + 1455
_bk;t=1719662942664# | 26 mlir-cpu-runner 0x0000589f4df95128
_bk;t=1719662942664# | 27 mlir-cpu-runner 0x0000589f4df5dca9 llvm::orc::ExecutionSession::OL_applyQueryPhase1(std::unique_ptr<llvm::orc::InProgressLookupState, std::default_delete<llvm::orc::InProgressLookupState>>, llvm::Error) + 6201
_bk;t=1719662942664# | 28 mlir-cpu-runner 0x0000589f4df5a7c9 llvm::orc::ExecutionSession::lookup(llvm::orc::LookupKind, std::vector<std::pair<llvm::orc::JITDylib*, llvm::orc::JITDylibLookupFlags>, std::allocator<std::pair<llvm::orc::JITDylib*, llvm::orc::JITDylibLookupFlags>>> const&, llvm::orc::SymbolLookupSet, llvm::orc::SymbolState, llvm::unique_function<void (llvm::Expected<llvm::DenseMap<llvm::orc::SymbolStringPtr, llvm::orc::ExecutorSymbolDef, llvm::DenseMapInfo<llvm::orc::SymbolStringPtr, void>, llvm::detail::DenseMapPair<llvm::orc::SymbolStringPtr, llvm::orc::ExecutorSymbolDef>>>)>, std::function<void (llvm::DenseMap<llvm::orc::JITDylib*, llvm::DenseSet<llvm::orc::SymbolStringPtr, llvm::DenseMapInfo<llvm::orc::SymbolStringPtr, void>>, llvm::DenseMapInfo<llvm::orc::JITDylib*, void>, llvm::detail::DenseMapPair<llvm::orc::JITDylib*, llvm::DenseSet<llvm::orc::SymbolStringPtr, llvm::DenseMapInfo<llvm::orc::SymbolStringPtr, void>>>> const&)>) + 889
_bk;t=1719662942664# | 29 mlir-cpu-runner 0x0000589f4df6f077 llvm::orc::ExecutionSession::lookup(std::vector<std::pair<llvm::orc::JITDylib*, llvm::orc::JITDylibLookupFlags>, std::allocator<std::pair<llvm::orc::JITDylib*, llvm::orc::JITDylibLookupFlags>>> const&, llvm::orc::SymbolLookupSet, llvm::orc::LookupKind, llvm::orc::SymbolState, std::function<void (llvm::DenseMap<llvm::orc::JITDylib*, llvm::DenseSet<llvm::orc::SymbolStringPtr, llvm::DenseMapInfo<llvm::orc::SymbolStringPtr, void>>, llvm::DenseMapInfo<llvm::orc::JITDylib*, void>, llvm::detail::DenseMapPair<llvm::orc::JITDylib*, llvm::DenseSet<llvm::orc::SymbolStringPtr, llvm::DenseMapInfo<llvm::orc::SymbolStringPtr, void>>>> const&)>) + 391
_bk;t=1719662942664# | 30 mlir-cpu-runner 0x0000589f4df6f646 llvm::orc::ExecutionSession::lookup(std::vector<std::pair<llvm::orc::JITDylib*, llvm::orc::JITDylibLookupFlags>, std::allocator<std::pair<llvm::orc::JITDylib*, llvm::orc::JITDylibLookupFlags>>> const&, llvm::orc::SymbolStringPtr, llvm::orc::SymbolState) + 246
_bk;t=1719662942664# | 31 mlir-cpu-runner 0x0000589f4dfb5c40 llvm::orc::LLJIT::lookupLinkerMangled(llvm::orc::JITDylib&, llvm::orc::SymbolStringPtr) + 128
_bk;t=1719662942664# | 32 mlir-cpu-runner 0x0000589f4dbf1819
_bk;t=1719662942664# | 33 mlir-cpu-runner 0x0000589f4dbf0a1c mlir::ExecutionEngine::lookup(llvm::StringRef) const + 76
_bk;t=1719662942664# | 34 mlir-cpu-runner 0x0000589f4dbece84 mlir::ExecutionEngine::lookupPacked(llvm::StringRef) const + 52
_bk;t=1719662942664# | 35 mlir-cpu-runner 0x0000589f4dbeb9bd
_bk;t=1719662942664# | 36 mlir-cpu-runner 0x0000589f4dbe96c1
_bk;t=1719662942664# | 37 mlir-cpu-runner 0x0000589f4dbe7acf mlir::JitRunnerMain(int, char**, mlir::DialectRegistry const&, mlir::JitRunnerConfig) + 4959
_bk;t=1719662942664# | 38 mlir-cpu-runner 0x0000589f4d427088 main + 280
_bk;t=1719662942664# | 39 libc.so.6 0x00007f6ee059dd90
_bk;t=1719662942664# | 40 libc.so.6 0x00007f6ee059de40 __libc_start_main + 128
_bk;t=1719662942664# | 41 mlir-cpu-runner 0x0000589f4d426ea5 _start + 37
_bk;t=1719662942664# `-----------------------------
```
https://github.com/llvm/llvm-project/pull/97055
More information about the llvm-commits
mailing list