]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ppc: testsuite: PROMOTE_MODE fallout pr56605 [PR102146]
authorAlexandre Oliva <oliva@adacore.com>
Wed, 13 Apr 2022 01:41:45 +0000 (22:41 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Wed, 13 Apr 2022 01:41:45 +0000 (22:41 -0300)
The test expects a compare of DImode values, but after the removal of
PROMOTE_MODE from rs6000/, we get SImode.  Adjust the expectations.

for  gcc/testsuite/ChangeLog

PR target/102146
* gcc.target/powerpc/pr56605.c: Accept SImode compare operand.

gcc/testsuite/gcc.target/powerpc/pr56605.c

index fdedbfc573dd8218bdcf33ccb61ef2ba2e4c1584..7695f87db6f66094177f98ad22fd37773e3dc3a1 100644 (file)
@@ -11,5 +11,5 @@ void foo (short* __restrict sb, int* __restrict ia)
     ia[i] = (int) sb[i];
 }
 
-/* { dg-final { scan-rtl-dump-times {\(compare:CC \((?:and|zero_extend):(?:DI) \((?:sub)?reg:[SD]I} 1 "combine" } } */
+/* { dg-final { scan-rtl-dump-times {\(compare:CC \((?:and|zero_extend):(?:[SD]I) \((?:sub)?reg:[SD]I} 1 "combine" } } */