From: Richard Biener Date: Tue, 19 May 2020 18:30:40 +0000 (+0200) Subject: Fix FAIL: gcc.target/i386/pr92645-4.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e7ae154dc5ef8d92ba5405b71154dc2f46b8d1f;p=gcc.git Fix FAIL: gcc.target/i386/pr92645-4.c This adjusts the testcase for the introduced vector promotion/demotion support. 2020-05-19 Richard Biener * gcc.target/i386/pr92645-4.c: Adjust expected pattern. --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fa1d04599dc..0aa1b3f867b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2020-05-19 Richard Biener + + * gcc.target/i386/pr92645-4.c: Adjust expected pattern. + 2020-05-19 Jozef Lawrynowicz * c-c++-common/builtin-has-attribute-7.c: Require size24plus. diff --git a/gcc/testsuite/gcc.target/i386/pr92645-4.c b/gcc/testsuite/gcc.target/i386/pr92645-4.c index 788a97ed117..5d459040846 100644 --- a/gcc/testsuite/gcc.target/i386/pr92645-4.c +++ b/gcc/testsuite/gcc.target/i386/pr92645-4.c @@ -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" } } */