diff options
author | Jeff Law <law@redhat.com> | 2015-05-04 17:45:57 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2015-05-04 17:45:57 -0600 |
commit | 319dcdd8bdbb242323d9618f96273ce5d160d095 (patch) | |
tree | e953b99fed0775e626bb1bb0dc2caf55316465de /gcc/generic-match-head.c | |
parent | 4e417af354507747882f17d09c616d6e572ab0ee (diff) | |
download | gcc-319dcdd8bdbb242323d9618f96273ce5d160d095.zip gcc-319dcdd8bdbb242323d9618f96273ce5d160d095.tar.gz gcc-319dcdd8bdbb242323d9618f96273ce5d160d095.tar.bz2 |
Revert:
2015-05-04 Jeff Law <law@redhat.com>
* match.pd (bit_and (plus/minus (convert @0) (convert @1) mask): New
simplifier to narrow arithmetic.
* generic-match-head.c: (types_match, single_use): New functions.
* gimple-match-head.c: (types_match, single_use): New functions.
Revert:
2015-05-04 Jeff Law <law@redhat.com>
* gcc.dg/tree-ssa/shorten-1.c: New test.
From-SVN: r222784
Diffstat (limited to 'gcc/generic-match-head.c')
-rw-r--r-- | gcc/generic-match-head.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/generic-match-head.c b/gcc/generic-match-head.c index 303b237..daa56aa 100644 --- a/gcc/generic-match-head.c +++ b/gcc/generic-match-head.c @@ -70,20 +70,4 @@ along with GCC; see the file COPYING3. If not see #include "dumpfile.h" #include "generic-match.h" -/* Routine to determine if the types T1 and T2 are effectively - the same for GENERIC. */ -inline bool -types_match (tree t1, tree t2) -{ - return TYPE_MAIN_VARIANT (t1) == TYPE_MAIN_VARIANT (t2); -} - -/* Return if T has a single use. For GENERIC, we assume this is - always true. */ - -inline bool -single_use (tree t) -{ - return true; -} |