diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2015-06-10 00:37:39 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2015-06-10 00:37:39 +0000 |
commit | 0f9f9784ad1bb59e89f03e5cb00ebc22f500c059 (patch) | |
tree | 44bd2d64a442165a5d4162e8caf3157b8f5557a6 /gcc/explow.c | |
parent | a79b6a3044aa97f8ba6b491ee1796f318c68285a (diff) | |
download | gcc-0f9f9784ad1bb59e89f03e5cb00ebc22f500c059.zip gcc-0f9f9784ad1bb59e89f03e5cb00ebc22f500c059.tar.gz gcc-0f9f9784ad1bb59e89f03e5cb00ebc22f500c059.tar.bz2 |
Revert "[PR64164] Drop copyrename, use coalescible partition as base when optimizing."
This reverts commit c66acc7cedd89bfd22124caec44b8427c9082dac.
Conflicts:
gcc/ChangeLog
gcc/testsuite/ChangeLog
From-SVN: r224310
Diffstat (limited to 'gcc/explow.c')
-rw-r--r-- | gcc/explow.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gcc/explow.c b/gcc/explow.c index 35a7614..bcd9f72 100644 --- a/gcc/explow.c +++ b/gcc/explow.c @@ -845,28 +845,6 @@ promote_decl_mode (const_tree decl, int *punsignedp) return pmode; } -/* Return the promoted mode for name. If it is a named SSA_NAME, it - is the same as promote_decl_mode. Otherwise, it is the promoted - mode of a temp decl of same type as the SSA_NAME, if we had created - one. */ - -machine_mode -promote_ssa_mode (const_tree name, int *punsignedp) -{ - gcc_assert (TREE_CODE (name) == SSA_NAME); - - tree type = TREE_TYPE (name); - int unsignedp = TYPE_UNSIGNED (type); - machine_mode mode = TYPE_MODE (type); - - machine_mode pmode = promote_mode (type, mode, &unsignedp); - if (punsignedp) - *punsignedp = unsignedp; - - return pmode; -} - - /* Controls the behaviour of {anti_,}adjust_stack. */ static bool suppress_reg_args_size; |