diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2015-07-25 01:28:21 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2015-07-24 21:28:21 -0400 |
commit | 64d7fb90be5b6aba8ae99e3510faec8d73df879e (patch) | |
tree | dbdb2c3fec9b247df8cbdbf94a7a9569a539909f /gcc/explow.c | |
parent | a406c8ce3f42685e53d8ade8ea4920b26f839ada (diff) | |
download | gcc-64d7fb90be5b6aba8ae99e3510faec8d73df879e.zip gcc-64d7fb90be5b6aba8ae99e3510faec8d73df879e.tar.gz gcc-64d7fb90be5b6aba8ae99e3510faec8d73df879e.tar.bz2 |
Revert:
2015-07-23 Alexandre Oliva <aoliva@redhat.com>
From-SVN: r226202
Diffstat (limited to 'gcc/explow.c')
-rw-r--r-- | gcc/explow.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/gcc/explow.c b/gcc/explow.c index 6941f4e..bd342c1 100644 --- a/gcc/explow.c +++ b/gcc/explow.c @@ -842,35 +842,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); - - /* Partitions holding parms and results must be promoted as expected - by function.c. */ - if (SSA_NAME_VAR (name) - && (TREE_CODE (SSA_NAME_VAR (name)) == PARM_DECL - || TREE_CODE (SSA_NAME_VAR (name)) == RESULT_DECL)) - return promote_decl_mode (SSA_NAME_VAR (name), punsignedp); - - 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; |