diff options
author | Richard Henderson <rth@redhat.com> | 2004-09-29 18:22:07 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-09-29 18:22:07 -0700 |
commit | e670d9e4cec6b4d18e98bf8e0fddc0373d781c9f (patch) | |
tree | bfe96a23c68a90b5da0a5b5bfb8294fbe08ac645 /gcc/tree-ssa-copyrename.c | |
parent | 67a741463c0555aea1acb65ebe874ad914fd96cf (diff) | |
download | gcc-e670d9e4cec6b4d18e98bf8e0fddc0373d781c9f.zip gcc-e670d9e4cec6b4d18e98bf8e0fddc0373d781c9f.tar.gz gcc-e670d9e4cec6b4d18e98bf8e0fddc0373d781c9f.tar.bz2 |
re PR tree-optimization/17739 (tree-optimizers extend the lifetime of a hard register variable)
PR 17739
* tree-gimple.c (is_gimple_reg): Reject hard registers.
(is_gimple_asm_val): New.
* tree-gimple.h (is_gimple_asm_val): Declare.
* gimplify.c (gimplify_asm_expr): Use it.
* tree-pretty-print.c (print_declaration): Dump hard regs.
* tree-outof-ssa.c (check_replaceable): Don't check for hard regs.
* tree-ssa-copyrename.c (copy_rename_partition_coalesce): Likewise.
* tree-ssa-pre.c (is_undefined_value): Likewise.
* tree-ssa-copy.c (may_propagate_copy): Likewise.
(may_propagate_copy_into_asm): Protect DECL_HARD_REGISTER.
* tree-ssa.c (warn_uninit): Likewise.
* tree.h (DECL_HARD_REGISTER): Check for VAR_DECL.
From-SVN: r88321
Diffstat (limited to 'gcc/tree-ssa-copyrename.c')
-rw-r--r-- | gcc/tree-ssa-copyrename.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/tree-ssa-copyrename.c b/gcc/tree-ssa-copyrename.c index 4ef5b3d..7495c6b 100644 --- a/gcc/tree-ssa-copyrename.c +++ b/gcc/tree-ssa-copyrename.c @@ -146,19 +146,6 @@ copy_rename_partition_coalesce (var_map map, tree var1, tree var2, FILE *debug) root1 = SSA_NAME_VAR (rep1); root2 = SSA_NAME_VAR (rep2); - if (DECL_HARD_REGISTER (root1) || DECL_HARD_REGISTER (root2)) - { - if (debug) - { - if (DECL_HARD_REGISTER (root1)) - print_generic_expr (debug, var1, TDF_SLIM); - else - print_generic_expr (debug, var2, TDF_SLIM); - fprintf (debug, " is a hardware register. No Coalescing.\n"); - } - return; - } - ann1 = var_ann (root1); ann2 = var_ann (root2); |