Fix FAIL: gcc.target/i386/pr92645-4.c
authorRichard Biener <rguenther@suse.de>
Tue, 19 May 2020 18:30:40 +0000 (20:30 +0200)
committerRichard Biener <rguenther@suse.de>
Tue, 19 May 2020 18:36:31 +0000 (20:36 +0200)
This adjusts the testcase for the introduced vector promotion/demotion
support.

2020-05-19  Richard Biener  <rguenther@suse.de>

* gcc.target/i386/pr92645-4.c: Adjust expected pattern.

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr92645-4.c

index fa1d045..0aa1b3f 100644 (file)
@@ -1,3 +1,7 @@
+2020-05-19  Richard Biener  <rguenther@suse.de>
+
+       * gcc.target/i386/pr92645-4.c: Adjust expected pattern.
+
 2020-05-19  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
 
        * c-c++-common/builtin-has-attribute-7.c: Require size24plus.
index 788a97e..5d45904 100644 (file)
@@ -47,10 +47,10 @@ void f(char *dst, char *src, unsigned long n, unsigned c)
   }
 }
 
-/* { dg-final { scan-tree-dump-times "vec_unpack_lo" 3 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "\\(vector\\(16\\) short unsigned int\\)" 3 "optimized" } } */
 /* We're missing an opportunity to, after later optimizations, combine
-   a uniform CTOR with a vec_unpack_lo_expr to a CTOR on a converted
+   a uniform CTOR with a vector promotion to a CTOR on a promoted
    element.  */
-/* { dg-final { scan-tree-dump-times "vec_unpack_lo" 2 "optimized" { xfail *-*-* } } } */
+/* { dg-final { scan-tree-dump-times "\\(vector\\(16\\) short unsigned int\\)" 2 "optimized" { xfail *-*-* } } } */
 /* { dg-final { scan-tree-dump-times "VEC_PACK_TRUNC" 1 "optimized" } } */
 /* { dg-final { scan-tree-dump-times "BIT_FIELD_REF" 2 "optimized" } } */