not all lakemont MCU support long nop.
we can't assume we can generate long nop by default for MCU.
Look good to me
|84 ↗||(On Diff #78657)|
Maybe it worth adding a comment here explaining why you are preventing generating long nops for lakemont.
|19–20 ↗||(On Diff #78657)|
You may fit the comment in one line now, it will be still less than 80 characters.
|80 ↗||(On Diff #78657)|
Not related to this patch, but as a follow-up work, consider replacing this big condition with string compares with a new subtarget feature (in X86.td).