After the combine 2-2 changes, this testcase does not have a ZERO_EXTEND
in the intermediate code, but an AND instead.

This adjusts the testcase.  Committing.


2018-08-13  Segher Boessenkool  <seg...@kernel.crashing.org>

gcc/testcuite/
        * gcc.target/powerpc/pr56605.c: The generated code can have an AND
        instead of a ZERO_EXTEND.

---
 gcc/testsuite/gcc.target/powerpc/pr56605.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/powerpc/pr56605.c 
b/gcc/testsuite/gcc.target/powerpc/pr56605.c
index dc87640..304d6d6 100644
--- a/gcc/testsuite/gcc.target/powerpc/pr56605.c
+++ b/gcc/testsuite/gcc.target/powerpc/pr56605.c
@@ -12,5 +12,5 @@ void foo (short* __restrict sb, int* __restrict ia)
     ia[i] = (int) sb[i];
 }
 
-/* { dg-final { scan-rtl-dump-times "\\\(compare:CC \\\(zero_extend:DI 
\\\(reg:SI" 1 "combine" } } */
+/* { dg-final { scan-rtl-dump-times "\\\(compare:CC \\\((?:and|zero_extend):DI 
\\\(reg:\[SD\]I" 1 "combine" } } */
 
-- 
1.8.3.1

Reply via email to