https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122086
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >From richi (email): You can look at VN/copyprop (IIRC) for cases where we can "back-propagage" this kind of info to the source of the copy. >From Jeff (email and also from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111875#c9): > gcc: gcc.target/sh/cmpstr.c scan-assembler-times tst\t#3 2 > gcc: gcc.target/sh/pr67675.c scan-assembler-times or\tr[0-9],r[0-9] 1 > gcc: gcc.target/sh/pr67675.c scan-assembler-times tst\t#3,r0 6 > gcc: gcc.target/sh/strlen.c scan-assembler-times tst\t#3 1
