AArch64InstPrinter::printAddSubImm adds an immediate value to the comment stream when both are available. This is helpful when the imm value is shifted, e.g.
add x9, x0, #291, lsl #12 ; =1191936
but most of the time it looks like
subs x9, x0, #256 ; =256
where the comment adds nothing useful.
This patch changes printAddSubImm so it only appends the immediate value to the comment stream when it has a shift. The majority of the patchset is updating the tests to match the new output style.
Perhaps append {{$}} to ensure there is no comment.