Commit 946b4a68 by Martin Liska Committed by Martin Liska

Remove dead code in IPA ICF.

2019-10-31  Martin Liska  <mliska@suse.cz>

	* ipa-icf-gimple.c (func_checker::compare_tree_ssa_label): Remove.
	* ipa-icf-gimple.h: Remove declaration from compare_tree_ssa_label
	and compare_memory_operand.

From-SVN: r277675
parent 1a9e325f
2019-10-31 Martin Liska <mliska@suse.cz>
* ipa-icf-gimple.c (func_checker::compare_tree_ssa_label): Remove.
* ipa-icf-gimple.h: Remove declaration from compare_tree_ssa_label
and compare_memory_operand.
2019-10-31 Jakub Jelinek <jakub@redhat.com> 2019-10-31 Jakub Jelinek <jakub@redhat.com>
* configure.ac: Compute and substitute omp_device_properties and * configure.ac: Compute and substitute omp_device_properties and
...@@ -652,14 +652,6 @@ func_checker::compare_gimple_cond (gimple *s1, gimple *s2) ...@@ -652,14 +652,6 @@ func_checker::compare_gimple_cond (gimple *s1, gimple *s2)
return compare_operand (t1, t2); return compare_operand (t1, t2);
} }
/* Verifies that tree labels T1 and T2 correspond in FUNC1 and FUNC2. */
bool
func_checker::compare_tree_ssa_label (tree t1, tree t2)
{
return compare_operand (t1, t2);
}
/* Verifies for given GIMPLE_LABEL stmts S1 and S2 that /* Verifies for given GIMPLE_LABEL stmts S1 and S2 that
label statements are semantically equivalent. */ label statements are semantically equivalent. */
......
...@@ -190,12 +190,6 @@ public: ...@@ -190,12 +190,6 @@ public:
/* Verification function for declaration trees T1 and T2. */ /* Verification function for declaration trees T1 and T2. */
bool compare_decl (const_tree t1, const_tree t2); bool compare_decl (const_tree t1, const_tree t2);
/* Verifies that tree labels T1 and T2 correspond. */
bool compare_tree_ssa_label (tree t1, tree t2);
/* Function compare for equality given memory operands T1 and T2. */
bool compare_memory_operand (tree t1, tree t2);
/* Function responsible for comparison of various operands T1 and T2. /* Function responsible for comparison of various operands T1 and T2.
If these components, from functions FUNC1 and FUNC2, are equal, true If these components, from functions FUNC1 and FUNC2, are equal, true
is returned. */ is returned. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment