diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2012-08-21 15:27:00 +0200 |
---|---|---|
committer | Marc Glisse <glisse@gcc.gnu.org> | 2012-08-21 13:27:00 +0000 |
commit | 8a3ffc5d39c44c2e7923f5ad39c1b6392c429cb0 (patch) | |
tree | ed52f070800b50c7623028376b73988cddec35ad /gcc/dse.c | |
parent | b6db991c9585c615212f7019484e6d288883ade0 (diff) | |
download | gcc-8a3ffc5d39c44c2e7923f5ad39c1b6392c429cb0.zip gcc-8a3ffc5d39c44c2e7923f5ad39c1b6392c429cb0.tar.gz gcc-8a3ffc5d39c44c2e7923f5ad39c1b6392c429cb0.tar.bz2 |
fold-const.c (fold_ternary_loc): Detect identity permutations.
2012-08-21 Marc Glisse <marc.glisse@inria.fr>
gcc/
* fold-const.c (fold_ternary_loc): Detect identity permutations.
Canonicalize permutations more.
* tree-ssa-forwprop.c (is_combined_permutation_identity): New function.
(simplify_permutation): Likewise.
(ssa_forward_propagate_and_combine): Call it.
gcc/testsuite/
* gcc.dg/tree-ssa/forwprop-19.c: New testcase.
* gcc.dg/fold-perm.c: Likewise.
From-SVN: r190561
Diffstat (limited to 'gcc/dse.c')
0 files changed, 0 insertions, 0 deletions