miniblog.
← Back to all posts
Wilfred Hughes
Apr 2, 2018 at 21:32
Until 2015, LLVM just unconditionally put the function prologue at the beginning of each function, even when it wasn't needed! A friendly introduction to the shrink-wrap pass here:
https://reviews.llvm.org/D9210
⚙ D9210 Add a shrink-wrapping pass to improve the placement of prologue and epilogue.