You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% ./llc ./a.llAssertion failed: (!MBB.isLiveIn(X86::EFLAGS) && "Stack probe calls will clobber live EFLAGS."), function emitStackProbeCall, file X86FrameLowering.cpp, line 1116.PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.Stack dump:0. Program arguments: ./llc ./a.ll1. Running pass 'Function Pass Manager' on module './a.ll'.
Looks like the assertion is a bit overzealous. It's inserting the call at a DYN_ALLOCA_64 later in the block so that's where the liveness of EFLAGS matters. That instruction is already marked as clobbering the register so it would be invalid MIR if it triggers, but that's what assertions are there to catch so that's fine.
The text was updated successfully, but these errors were encountered: