The function inliner should check for fallthrough blocks and continue inlining the function that the block falls through to. See the screenshot below. Currently, if the user inlines _restgpr_27_x the inliner only inlines the basic block from _restgpr_27_x and doesn't inline _restgpr_28_x, _restgpr_29_x, and so-on.
