The testcase was added for an ICE caused by the x86 vector CSE
pass but after we hoist invariants after loop unswitching the
failure case no longer triggers and the CSE that the testcase
scans for does not happen.  The following removes the now failing
scan, keeping the testcase as compile-only for general coverage.

Tested on x86_64-unknown-linux-gnu.

OK?

        PR testsuite/125238
        * gcc.target/i386/pr125238.c: Remove scan for
        mpvabsq.
---
 gcc/testsuite/gcc.target/i386/pr125238.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gcc/testsuite/gcc.target/i386/pr125238.c 
b/gcc/testsuite/gcc.target/i386/pr125238.c
index 4c8dafc5cda..c69e3df9fcd 100644
--- a/gcc/testsuite/gcc.target/i386/pr125238.c
+++ b/gcc/testsuite/gcc.target/i386/pr125238.c
@@ -22,5 +22,3 @@ foo (void)
     }
   }
 }
-
-/* { dg-final { scan-assembler "movabsq\[ \\t\]+\\\$8589934594, %r\[a-z0-9\]+" 
{ target { ! ia32 } } } } */
-- 
2.51.0

Reply via email to