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
I think the problem is %G41 = getelementptr i64, ptr %A, i16 256 which is accessing out bounds of the allocated stack. We estimate the stack size and use that to determine if a spill slot is needed. The stack size here is not large enough to need a spill slot. But then we access something out of bounds and can't calculate the address without a spill slot.
It looks like 5f73d2b has "fixed" the reduced test case, but I will be able to provide some more.
chfast
changed the title
LLVM ERROR: Error while trying to spill X10 from class GPR: Cannot scavenge register without an emergency spill slot!
LLVM ERROR: Error while trying to spill from class GPR: Cannot scavenge register without an emergency spill slot!
Aug 15, 2023
https://godbolt.org/z/W3K59eq1h
The text was updated successfully, but these errors were encountered: