https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111901
--- Comment #8 from Uroš Bizjak <ubizjak at gmail dot com> --- Compiling the testcase for aarch64-linux-gnu (-O2 -funroll-all-loops) still performs CSE, despite the patch: _.c.325r.reload: 6: {x0:SI=asm_operands;clobber [scratch];} 8: {x2:SI=asm_operands;clobber [scratch];} 10: {x1:SI=asm_operands;clobber [scratch];} 12: {x3:SI=asm_operands;clobber [scratch];} 13: x1:SI=x1:SI+x3:SI 14: x0:SI=x0:SI+x2:SI 15: NOTE_INSN_DELETED 20: x0:SI=x1:SI+x0:SI 21: use x0:SI _.c.326r.postreload: 6: {x0:SI=asm_operands;clobber [scratch];} 8: {x2:SI=asm_operands;clobber [scratch];} 10: {x1:SI=asm_operands;clobber [scratch];} 12: {x3:SI=asm_operands;clobber [scratch];} 13: x1:SI=x1:SI+x3:SI 14: x0:SI=x1:SI <-- **here** 15: NOTE_INSN_DELETED 20: x0:SI=x1:SI+x0:SI 21: use x0:SI which suggests problems deeper in the CSE library.