Issue 103011
Summary [MachineVerifier] infinite recursion?
Labels llvm:codegen, crash-on-valid
Assignees
Reporter JonPsson1
    [crash22.tar.gz](https://github.com/user-attachments/files/16595329/crash22.tar.gz)

clang -O3 -march=z15 crash22.i -o a.out  -mllvm -disable-licm-promotion -mllvm -unroll-count=4 -mllvm -verify-misched
```

4.      Running pass 'Machine Instruction Scheduler' on function '@m' 
  #0 0x000002aa01eadbd8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/ijonpan/llvm-project/install/bin/clang-20+0x1eadbd8)
  #1 0x000002aa01eab6e0 llvm::sys::RunSignalHandlers() (/home/ijonpan/llvm-project/install/bin/clang-20+0x1eab6e0) 
  #2 0x000002aa01eab8c4 SignalHandler(int) Signals.cpp:0:0 
  #3 0x000002aa08e0f45e 
  #4 0x000002aa0128383e llvm::DenseMapBase<llvm::DenseMap<llvm::MachineBasicBlock const*, (anonymous namespace)::MachineVerifier::BBInfo, llvm::DenseMapInfo<llvm::MachineBasicBlock const*, void>, llvm::detail::DenseMapPair<llvm::MachineBasicBlock const*, (anonymous namespace)::MachineVerifier::BBInfo>>, llvm::MachineBasicBlock const*, (anonymous namespace)::MachineVerifier::BBInfo, llvm::D
enseMapInfo<llvm::MachineBasicBlock const*, void>, llvm::detail::DenseMapPair<llvm::MachineBasicBlock const*, (anonymous namespace)::MachineVerifier::BBInfo>>::FindAndConstruct(llvm::MachineBasicBlock const* const&) MachineVerifier.cpp:0:0
  #5 0x000002aa01283a64 (anonymous namespace)::MachineVerifier::markReachable(llvm::MachineBasicBlock const*) MachineVerifier.cpp:0:0
  #6 0x000002aa01283abc (anonymous namespace)::MachineVerifier::markReachable(llvm::MachineBasicBlock const*) MachineVerifier.cpp:0:0
 
...
#254 0x000002aa01283abc (anonymous namespace)::MachineVerifier::markReachable(llvm::MachineBasicBlock const*) MachineVerifier.cpp:0:0
#255 0x000002aa01283abc (anonymous namespace)::MachineVerifier::markReachable(llvm::MachineBasicBlock const*) MachineVerifier.cpp:0:0
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see invocation)

```

@arsenm @michaelmaitland 
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to