diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2017-01-10 15:13:12 +0100 |
---|---|---|
committer | Yvan Roux <yvan.roux@linaro.org> | 2017-01-11 14:33:37 +0000 |
commit | 55f63ac93a02ad955fbadc3e87386fc11df2e22d (patch) | |
tree | 991a3d76dc2dbe405a2a6a1c0814639d3dc9849f | |
parent | 5c7c74364dd7a8242eb820b98351ca57cf676b58 (diff) |
gcc/
Backport from trunk r242869.
2016-11-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
PR tree-optimization/77673
* tree-ssa-math-opts.c (struct symbolic_number): Add new src field.
(init_symbolic_number): Initialize src field from src parameter.
(perform_symbolic_merge): Select most dominated statement as the
source statement. Set src field of resulting n structure from the
input src with the lowest address.
(find_bswap_or_nop): Rename source_stmt into ins_stmt.
(bswap_replace): Rename src_stmt into ins_stmt. Initially get source
of load from src field rather than insertion statement. Cancel
optimization if statement analyzed is not dominated by the insertion
statement.
(pass_optimize_bswap::execute): Rename src_stmt to ins_stmt. Compute
dominance information.
gcc/testsuite/
Backport from trunk r242869.
2016-11-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
PR tree-optimization/77673
* gcc.dg/pr77673.c: New test.
gcc/
Backport from trunk r242870.
2016-11-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
* tree-ssa-math-opts.c (struct symbolic_number): Improve comment.
Change-Id: I79c6f848a9b7d80130b151cb62c4f2f0c672053b
0 files changed, 0 insertions, 0 deletions