diff options
author | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2015-01-28 10:20:19 +0000 |
---|---|---|
committer | Thomas Preud'homme <thopre01@gcc.gnu.org> | 2015-01-28 10:20:19 +0000 |
commit | 8447859b3ecba626580a9b812a236ecc6438d730 (patch) | |
tree | 79c23d259d3122536e27807b8eb8ee4dcdd18bb3 /gcc/tree-ssa-loop-niter.c | |
parent | 285398d2db1c0835373f9d97d95ff18b94125ad9 (diff) | |
download | gcc-8447859b3ecba626580a9b812a236ecc6438d730.zip gcc-8447859b3ecba626580a9b812a236ecc6438d730.tar.gz gcc-8447859b3ecba626580a9b812a236ecc6438d730.tar.bz2 |
re PR tree-optimization/64718 (Bad 16-bit bswap replacement)
2015-01-28 Thomas Preud'homme <thomas.preudhomme@arm.com>
gcc/
PR tree-optimization/64718
* tree-ssa-math-opts.c (pass_optimize_bswap::execute): Make bswap_type
be a 16bit unsigned integer when n->range is 16.
(bswap_replace): Convert src to that type if necessary for all bswap
sizes. Fix rotation right notation in nearby comment. Use bswap_type
set in pass_optimize_bswap::execute ().
gcc/testsuite/
PR tree-optimization/64718
* gcc.c-torture/execute/pr64718.c: New test.
From-SVN: r220203
Diffstat (limited to 'gcc/tree-ssa-loop-niter.c')
0 files changed, 0 insertions, 0 deletions