re PR tree-optimization/89475 (Teach ccp about __builtin_bswap{16,32,64})
authorJakub Jelinek <jakub@redhat.com>
Tue, 30 Apr 2019 09:07:28 +0000 (11:07 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 30 Apr 2019 09:07:28 +0000 (11:07 +0200)
commitae8f39886b954f37941a72c8e020604f27fff14f
tree8dd1432a5e1d3918188ec8346088c0016de57f5e
parent379637d5e2d6965cb842a0fe29a9442f1322544d
re PR tree-optimization/89475 (Teach ccp about __builtin_bswap{16,32,64})

PR tree-optimization/89475
* tree-ssa-ccp.c (evaluate_stmt): Handle BUILT_IN_BSWAP{16,32,64}
calls.

* gcc.dg/tree-ssa/pr89475.c: New test.

From-SVN: r270680
gcc/ChangeLog
gcc/gimple-ssa-store-merging.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr89475.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c