tree-ssa-math-opts.c (find_bswap_or_nop): Zero out bytes in cmpxchg and cmpnop in...
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Mon, 14 Nov 2016 18:55:05 +0000 (18:55 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Mon, 14 Nov 2016 18:55:05 +0000 (18:55 +0000)
commitbf166718a9252bc7f867cbbe4e7772bf731acb0e
tree79b8405f2e07fe96cbec3d3749ccad885c4f34b0
parentd32e1fd8b9e1263d50bb697e40d4d92ece54c439
tree-ssa-math-opts.c (find_bswap_or_nop): Zero out bytes in cmpxchg and cmpnop in two steps...

2016-11-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    * tree-ssa-math-opts.c (find_bswap_or_nop): Zero out bytes in cmpxchg
    and cmpnop in two steps: first the ones not accessed in original gimple
    expression in a endian independent way and then the ones not accessed
    in the final result in an endian-specific way.
    (bswap_replace): Stop doing big endian adjustment.

From-SVN: r242394
gcc/ChangeLog
gcc/tree-ssa-math-opts.c