diff options
author | liuhongt <hongtao.liu@intel.com> | 2024-01-19 09:22:39 +0800 |
---|---|---|
committer | liuhongt <hongtao.liu@intel.com> | 2024-01-19 10:45:47 +0800 |
commit | 1c51d0109a4730827c40c3bbd3a59d459828017e (patch) | |
tree | 68576b8de7cefee72d727bf817f1537a88abe58b /gcc | |
parent | 565935f93a7da629da89b05812a3e8c43287598f (diff) | |
download | gcc-1c51d0109a4730827c40c3bbd3a59d459828017e.zip gcc-1c51d0109a4730827c40c3bbd3a59d459828017e.tar.gz gcc-1c51d0109a4730827c40c3bbd3a59d459828017e.tar.bz2 |
Fix testcase failure on many platforms which don't support vect_int_max.
After r14-7124-g6686e16fda4190, the testcase can be optimized to
MAX_EXPR if the backends support that. So I adjust the testcase to
scan for MAX_EXPR, but it failed many platforms which don't support
that.
As pinski mentioned, target vect_no_int_min_max is only available
under vect directory, so for simplicity, I adjust the testcase to scan
either MAX_EXPR or original VEC_COND_EXPR.
gcc/testsuite/ChangeLog:
PR testsuite/113437
* gcc.dg/tree-ssa/pr95906.c: Scan either MAX_EXPR or
VEC_COND_EXPR.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/pr95906.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr95906.c b/gcc/testsuite/gcc.dg/tree-ssa/pr95906.c index d15670f..ce43983 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr95906.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr95906.c @@ -9,4 +9,4 @@ v16i8 f(v16i8 a, v16i8 b) } /* { dg-final { scan-tree-dump-not "bit_(and|ior)_expr" "forwprop3" } } */ -/* { dg-final { scan-tree-dump-times "max_expr" 1 "forwprop3" } } */ +/* { dg-final { scan-tree-dump-times {(?n)(?:max_expr|vec_cond_expr)} 1 "forwprop3" } } */ |