Issue 150498
Summary crash: llvm.lifetime.start/end can only be used on alloca
Labels new issue
Assignees
Reporter tlively
    ```
$ llc repro.ll
llvm.lifetime.start/end can only be used on alloca
  call void @llvm.lifetime.end.p0(i64 812, ptr nonnull %call) #8, !dbg !2809
in function _ZN11__llvm_libc8internal25simple_decimal_conversionIdEENS0_18FloatConvertReturnIT_EEPKcmNS0_14RoundDirectionE
LLVM ERROR: Broken function found, compilation aborted!
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.      Program arguments: /usr/local/google/home/tlively/code/llvm-local/bin/llc repro.ll
1. Running pass 'Function Pass Manager' on module 'repro.ll'.
2.      Running pass 'Module Verifier' on function '@_ZN11__llvm_libc8internal25simple_decimal_conversionIdEENS0_18FloatConvertReturnIT_EEPKcmNS0_14RoundDirectionE'
 #0 0x000055f93e08558b llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/local/google/home/tlively/code/llvm-local/bin/llc+0x22f958b)
 #1 0x000055f93e08267a SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #2 0x00007f6509849df0 (/lib/x86_64-linux-gnu/libc.so.6+0x3fdf0)
 #3 0x00007f650989e95c __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
 #4 0x00007f6509849cc2 raise ./signal/../sysdeps/posix/raise.c:27:6
 #5 0x00007f65098324ac abort ./stdlib/abort.c:81:3
 #6 0x000055f93c1d3d1f llvm::install_bad_alloc_error_handler(void (*)(void*, char const*, bool), void*) (.cold) ErrorHandling.cpp:0:0
 #7 0x000055f93dfd12c8 (/usr/local/google/home/tlively/code/llvm-local/bin/llc+0x22452c8)
 #8 0x000055f93d695877 (anonymous namespace)::VerifierLegacyPass::runOnFunction(llvm::Function&) Verifier.cpp:0:0
 #9 0x000055f93d5cd8b9 llvm::FPPassManager::runOnFunction(llvm::Function&) (/usr/local/google/home/tlively/code/llvm-local/bin/llc+0x18418b9)
#10 0x000055f93d5cda5c llvm::FPPassManager::runOnModule(llvm::Module&) (/usr/local/google/home/tlively/code/llvm-local/bin/llc+0x1841a5c)
#11 0x000055f93d5ccdd4 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/usr/local/google/home/tlively/code/llvm-local/bin/llc+0x1840dd4)
#12 0x000055f93c2e4143 compileModule(char**, llvm::LLVMContext&) llc.cpp:0:0
#13 0x000055f93c1ecc4e main (/usr/local/google/home/tlively/code/llvm-local/bin/llc+0x460c4e)
#14 0x00007f6509833ca8 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:74:3
#15 0x00007f6509833d65 call_init ./csu/../csu/libc-start.c:128:20
#16 0x00007f6509833d65 __libc_start_main ./csu/../csu/libc-start.c:347:5
#17 0x000055f93c2db571 _start (/usr/local/google/home/tlively/code/llvm-local/bin/llc+0x54f571)
Aborted (core dumped)
```

This seems related to https://github.com/llvm/llvm-project/issues/150338, cc @nikic 
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to