There is a tiny logic error of D75300, making branch is not
correctly aligned with option -x86-pad-max-prefix-size
It's not clear what bug you think you're fixing. Please provide a description of the bad behaviour.
Please restore this test and show any diff. This test is not an unimplemented case, it's testing the jne being relaxed which is happening.
This case should already be handled by skipping instructions past the branch align.
The existing code in finishLayout intends to not pad instructions following boundary align by checking whether F is MCBoundaryAlignFragment. But this early continue prevents the control flow from reaching that check. This patch is pretty small (delete 3 lines) and is a bug fix, could reviewers take a close look at it?