forked from iains/gcc-14-branch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tree-ssa-forwprop.c (simplify_vector_constructor): New function.
2012-09-11 Marc Glisse <[email protected]> gcc/ * tree-ssa-forwprop.c (simplify_vector_constructor): New function. (ssa_forward_propagate_and_combine): Call it. gcc/testsuite/ * gcc.dg/tree-ssa/forwprop-22.c: New testcase. From-SVN: r191198
- Loading branch information
Showing
5 changed files
with
111 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
2012-09-11 Marc Glisse <[email protected]> | ||
|
||
* tree-ssa-forwprop.c (simplify_vector_constructor): New function. | ||
(ssa_forward_propagate_and_combine): Call it. | ||
|
||
2012-09-11 Diego Novillo <[email protected]> | ||
|
||
* var-tracking.c (vt_add_function_parameter): Adjust for VEC | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
2012-09-11 Marc Glisse <[email protected]> | ||
|
||
* gcc.dg/tree-ssa/forwprop-22.c: New testcase. | ||
|
||
2012-09-11 Ramana Radhakrishnan <[email protected]> | ||
Matthew Gretton-Dann <[email protected]> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* { dg-do compile } */ | ||
/* { dg-require-effective-target vect_double } */ | ||
/* { dg-require-effective-target vect_perm } */ | ||
/* { dg-options "-O -fdump-tree-optimized" } */ | ||
|
||
typedef double vec __attribute__((vector_size (2 * sizeof (double)))); | ||
void f (vec *px, vec *y, vec *z) | ||
{ | ||
vec x = *px; | ||
vec t1 = { x[1], x[0] }; | ||
vec t2 = { x[0], x[1] }; | ||
*y = t1; | ||
*z = t2; | ||
} | ||
|
||
/* { dg-final { scan-tree-dump-times "VEC_PERM_EXPR" 1 "optimized" } } */ | ||
/* { dg-final { scan-tree-dump-not "BIT_FIELD_REF" "optimized" } } */ | ||
/* { dg-final { cleanup-tree-dump "optimized" } } */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters