https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111558
--- Comment #3 from Xiao Ma <mxlol233 at outlook dot com> --- (In reply to Xiao Ma from comment #2) > For this piece of code, LLVM seems to be a bit concise: during the pass of > Prologue/Epilogue Insertion & Frame Finalization, it only inserts sd/ld > blocks in the entry and exit BB: > > https://godbolt.org/z/qxdrMKc46 On the contrary, GCC emits sd/ld blocks for each of BB, in the pro_and_epilogue pass: https://godbolt.org/z/vY4M71snz