diff options
author | Richard Biener <rguenther@suse.de> | 2016-06-01 09:00:57 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2016-06-01 09:00:57 +0000 |
commit | e04d2a35c884f075ebe12cd6f871e35f6d0362a4 (patch) | |
tree | 638943efbfc2fd09c79e79434b1bfd8ad43999e1 /libiberty/libiberty.texi | |
parent | e4b631a5a80b0fe254b3e9a747df697780748c12 (diff) | |
download | gcc-e04d2a35c884f075ebe12cd6f871e35f6d0362a4.zip gcc-e04d2a35c884f075ebe12cd6f871e35f6d0362a4.tar.gz gcc-e04d2a35c884f075ebe12cd6f871e35f6d0362a4.tar.bz2 |
genmatch.c (comparison_code_p): New predicate.
2016-06-01 Richard Biener <rguenther@suse.de>
* genmatch.c (comparison_code_p): New predicate.
(swap_tree_comparison): New function.
(commutate): Add for_vec parameter to append new for entries.
Support commutating relational operators by swapping it alongside
operands.
(lower_commutative): Adjust.
(dt_simplify::gen): Do not pass artificial operators to gen
functions.
(decision_tree::gen): Do not add artificial operators as parameters.
(parser::parse_expr): Verify operator commutativity when :c is
applied. Allow :C to override this.
* match.pd: Adjust patterns to use :C instead of :c where required.
From-SVN: r236977
Diffstat (limited to 'libiberty/libiberty.texi')
0 files changed, 0 insertions, 0 deletions