diff options
author | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2014-11-12 09:50:20 +0000 |
---|---|---|
committer | Thomas Preud'homme <thopre01@gcc.gnu.org> | 2014-11-12 09:50:20 +0000 |
commit | f351abd67980aced3a656bb5cc639eda1482439f (patch) | |
tree | 9be0a8ea34db66b2d907cf7b363d3e981fa99a70 /gcc/cppbuiltin.c | |
parent | d30fc980ac0178eb8a64277c063d518cb691f1d2 (diff) | |
download | gcc-f351abd67980aced3a656bb5cc639eda1482439f.zip gcc-f351abd67980aced3a656bb5cc639eda1482439f.tar.gz gcc-f351abd67980aced3a656bb5cc639eda1482439f.tar.bz2 |
[multiple changes]
2014-11-12 Thomas Preud'homme <thomas.preudhomme@arm.com>
gcc/
PR tree-optimization/63761
* tree-ssa-math-opts.c (bswap_replace): Construct gsi from cur_stmt
rather than taking it as a parameter. Add some comments to explain the
gsi_move_before in case of load and why canonicalization of bswap into
a rotation is only done for 16bit values.
(pass_optimize_bswap::execute): Adapt for loop via gsi to make gsi
refer to the statement just before cur_stmt. Ignore 16bit bswap that
are already in canonical form. Adapt bswap_replace to removal of its
gsi parameter.
2014-11-12 Thomas Preud'homme <thomas.preudhomme@arm.com>
gcc/testsuite/
PR tree-optimization/63761
* gcc.c-torture/compile/pr63761.c: New test.
From-SVN: r217409
Diffstat (limited to 'gcc/cppbuiltin.c')
0 files changed, 0 insertions, 0 deletions