]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite, rs6000: Adjust fold-vec-extract-char.p7.c [PR111850]
authorKewen Lin <linkw@linux.ibm.com>
Thu, 18 Jan 2024 06:00:52 +0000 (00:00 -0600)
committerKewen Lin <linkw@linux.ibm.com>
Thu, 18 Jan 2024 06:00:52 +0000 (00:00 -0600)
commitf4156fbf7d6d641f8aade8028e87cf302350c3c0
tree1a47a89e0b356e87c5646e276b64ce7b0d9d2e93
parent9a5e8f9d112adb0fdd0931f72a023cd77c09dd8c
testsuite, rs6000: Adjust fold-vec-extract-char.p7.c [PR111850]

As PR101169 comment #c4 shows, previsouly the addi count
update on fold-vec-extract-char.p7.c covered a sub-optimal
code gen issue.  On trunk, pass fold-mem-offsets helps to
recover the best code sequence, so this patch is to
revert the count back to the original which matches the
optimal addi count.

PR testsuite/111850

gcc/testsuite/ChangeLog:

* gcc.target/powerpc/fold-vec-extract-char.p7.c: Update the
checking count of addi to 6.
gcc/testsuite/gcc.target/powerpc/fold-vec-extract-char.p7.c