[gcc(refs/users/marxin/heads/loop-unswitch-improvement-v7)] Simplify irange condition.
Martin Liska
marxin@gcc.gnu.org
Thu Dec 9 12:48:57 GMT 2021
https://gcc.gnu.org/g:eddbc4643853ff8de4bcf5117750793decd2e1f5
commit eddbc4643853ff8de4bcf5117750793decd2e1f5
Author: Martin Liska <mliska@suse.cz>
Date: Wed Dec 8 11:28:35 2021 +0100
Simplify irange condition.
Diff:
---
gcc/tree-ssa-loop-unswitch.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c
index cb4be6d52e2..b083d990d4c 100644
--- a/gcc/tree-ssa-loop-unswitch.c
+++ b/gcc/tree-ssa-loop-unswitch.c
@@ -558,7 +558,6 @@ evaluate_control_stmt_using_entry_checks (gimple *stmt,
int_range_max path_range;
if (find_range_for_lhs (predicate_path, lhs, path_range)
- && !path_range.undefined_p ()
&& fold_range (r, stmt, path_range)
&& r.singleton_p ())
return r.zero_p () ? boolean_false_node : boolean_true_node;
More information about the Gcc-cvs
mailing list