2016-11-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
commit77dfd3f21533eedb6a524f7d5e8167859433af17
authorthopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Nov 2016 18:55:05 +0000 (14 18:55 +0000)
committerthopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Nov 2016 18:55:05 +0000 (14 18:55 +0000)
tree79b8405f2e07fe96cbec3d3749ccad885c4f34b0
parentf253fdbba9800478ccf44a7573e1a6c61ce31ad7
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@242394 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-ssa-math-opts.c