]> gcc.gnu.org Git - gcc.git/commit
tree-optimization/108888 - call if-conversion
authorRichard Biener <rguenther@suse.de>
Thu, 23 Feb 2023 10:03:03 +0000 (11:03 +0100)
committerRichard Biener <rguenther@suse.de>
Thu, 23 Feb 2023 10:16:39 +0000 (11:16 +0100)
commit31cc5821223a096ef61743bff520f4a0dbba5872
tree93347d8a41ea5a6e37f2f0ceb46e3eb5571bb2ee
parent4f609c6f762832e43524352527a7ecbea2698ff9
tree-optimization/108888 - call if-conversion

The following makes sure to only predicate calls necessary.

PR tree-optimization/108888
* tree-if-conv.cc (if_convertible_stmt_p): Set PLF_2 on
calls to predicate.
(predicate_statements): Only predicate calls with PLF_2.

* g++.dg/torture/pr108888.C: New testcase.
gcc/testsuite/g++.dg/torture/pr108888.C [new file with mode: 0644]
gcc/tree-if-conv.cc
This page took 0.0796790000000001 seconds and 6 git commands to generate.