aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-loop-distribution.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-07-17 10:14:16 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2017-07-17 10:14:16 +0200
commit1f1e8aed3afc08e9d70bba9110e289f7fa329453 (patch)
treece61c2221126093bbe0151b30cada1ee8d593428 /gcc/tree-loop-distribution.c
parented9091b270721c399112c74eb15b7fc27ef127db (diff)
downloadgcc-1f1e8aed3afc08e9d70bba9110e289f7fa329453.zip
gcc-1f1e8aed3afc08e9d70bba9110e289f7fa329453.tar.gz
gcc-1f1e8aed3afc08e9d70bba9110e289f7fa329453.tar.bz2
re PR tree-optimization/81396 (Optimization of reading Little-Endian 64-bit number with portable code has a regression)
PR tree-optimization/81396 * tree-ssa-math-opts.c (struct symbolic_number): Add n_ops field. (init_symbolic_number): Initialize it to 1. (perform_symbolic_merge): Add n_ops from both operands into the new n_ops. (find_bswap_or_nop): Don't consider n->n == cmpnop computations without base_addr as useless if they need more than one operation. (bswap_replace): Handle !bswap case for NULL base_addr. * gcc.dg/tree-ssa/pr81396.c: New test. From-SVN: r250257
Diffstat (limited to 'gcc/tree-loop-distribution.c')
0 files changed, 0 insertions, 0 deletions