X /[ex] 4 < Y /[ex] 4
authorMarc Glisse <marc.glisse@inria.fr>
Mon, 24 Apr 2017 19:04:25 +0000 (21:04 +0200)
committerMarc Glisse <glisse@gcc.gnu.org>
Mon, 24 Apr 2017 19:04:25 +0000 (19:04 +0000)
commita8492d5ec1d8b90930a7dca04a104bcaec62d035
tree93650497930101fed7cb82fd859815c074e3cda8
parentec856f5f8b372d1201ec204876ed078a1c0f1f37
X /[ex] 4 < Y /[ex] 4

2017-04-24  Marc Glisse  <marc.glisse@inria.fr>

gcc/
* match.pd (X/[ex]C CMP Y/[ex]C): New transformation.

gcc/testsuite/
* gcc.dg/tree-ssa/cmpexactdiv-2.c: New file.

From-SVN: r247107
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/cmpexactdiv-2.c [new file with mode: 0644]