[ARM] PR target/68648: Fold NOT of CONST_INT in andsi_iorsi3_notsi splitter
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 16 Dec 2015 10:01:48 +0000 (10:01 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Wed, 16 Dec 2015 10:01:48 +0000 (10:01 +0000)
commit1408479363d5f34b306c75f60a6dfbdeb5be0544
treedba267cf5d95099eab31b0951cf42f4c2cf58f14
parent8155f4d8cfd834e7cf1151a41fe0773477504f48
[ARM] PR target/68648: Fold NOT of CONST_INT in andsi_iorsi3_notsi splitter

PR target/68648
* config/arm/arm.md (*andsi_iorsi3_notsi): Try to simplify
the complement of operands[3] during splitting.

* gcc.c-torture/execute/pr68648.c: New test.

From-SVN: r231675
gcc/ChangeLog
gcc/config/arm/arm.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr68648.c [new file with mode: 0644]