Issue |
142314
|
Summary |
unhandled opcode in isAArch64FrameOffsetLegal
|
Labels |
new issue
|
Assignees |
|
Reporter |
TatyanaDoubts
|
To reproduce run llc with the test below:
[reduced-stripped.ll.zip](https://github.com/user-attachments/files/20541190/reduced-stripped.ll.zip)
Reproducer: https://godbolt.org/z/h4jxj6sW4
Stack dump:
```
unhandled opcode in isAArch64FrameOffsetLegal
UNREACHABLE executed at /root/llvm-project/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp:6286!
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /opt/compiler-explorer/clang-assertions-trunk/bin/llc -o /app/output.s -x86-asm-syntax=intel <source>
1. Running pass 'Function Pass Manager' on module '<source>'.
2. Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@widget'
#0 0x0000000003f00ab8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/compiler-explorer/clang-assertions-trunk/bin/llc+0x3f00ab8)
#1 0x0000000003efe444 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#2 0x0000747fc7442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#3 0x0000747fc74969fc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969fc)
#4 0x0000747fc7442476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
#5 0x0000747fc74287f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
#6 0x0000000003e4adda (/opt/compiler-explorer/clang-assertions-trunk/bin/llc+0x3e4adda)
#7 0x0000000000ac2080 llvm::isAArch64FrameOffsetLegal(llvm::MachineInstr const&, llvm::StackOffset&, bool*, unsigned int*, long*) (/opt/compiler-explorer/clang-assertions-trunk/bin/llc+0xac2080)
#8 0x0000000000c7f000 llvm::AArch64FrameLowering::determineCalleeSaves(llvm::MachineFunction&, llvm::BitVector&, llvm::RegScavenger*) const (.part.0) AArch64FrameLowering.cpp:0:0
#9 0x0000000002ffeb86 (anonymous namespace)::PEIImpl::run(llvm::MachineFunction&) (.constprop.0) PrologEpilogInserter.cpp:0:0
#10 0x0000000003001a7b (anonymous namespace)::PEILegacy::runOnMachineFunction(llvm::MachineFunction&) PrologEpilogInserter.cpp:0:0
#11 0x0000000002e4955a llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.0) MachineFunctionPass.cpp:0:0
#12 0x00000000034759cf llvm::FPPassManager::runOnFunction(llvm::Function&) (/opt/compiler-explorer/clang-assertions-trunk/bin/llc+0x34759cf)
#13 0x0000000003475d81 llvm::FPPassManager::runOnModule(llvm::Module&) (/opt/compiler-explorer/clang-assertions-trunk/bin/llc+0x3475d81)
#14 0x0000000003476621 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/opt/compiler-explorer/clang-assertions-trunk/bin/llc+0x3476621)
#15 0x00000000008c3548 compileModule(char**, llvm::LLVMContext&) llc.cpp:0:0
#16 0x00000000007a160e main (/opt/compiler-explorer/clang-assertions-trunk/bin/llc+0x7a160e)
#17 0x0000747fc7429d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#18 0x0000747fc7429e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#19 0x00000000008b9c25 _start (/opt/compiler-explorer/clang-assertions-trunk/bin/llc+0x8b9c25)
Program terminated with signal: SIGSEGV
Compiler returned: 139
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs