]> git.ipfire.org Git - thirdparty/gcc.git/commit
Remove dead predicate analysis GENERIC expr building code
authorRichard Biener <rguenther@suse.de>
Mon, 22 Aug 2022 12:45:38 +0000 (14:45 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 22 Aug 2022 14:13:11 +0000 (16:13 +0200)
commitb6316324fceaef431799a8b386de5cc9881d6898
tree14341b8990015a6158075d07176a00e7f33fefd1
parent827f64135957ce21617cd0345508077439fa29d8
Remove dead predicate analysis GENERIC expr building code

The following removes the unused def_expr, use_expr and expr APIs
from the predicate class including the unconditional build of the
GENERIC use_expr on each uninit analysis run.

* gimple-predicate-analysis.h (predicate::m_use_expr): Remove.
(predicate::def_expr): Likewise.
(predicate::use_expr): Likewise.
(predicate::expr): Likewise.
* gimple-predicate-analysis.cc (predicate::def_expr): Remove.
(predicate::use_expr): Likewise.
(predicate::expr): Likewise.
(predicate::is_use_guarded): Do not build m_use_expr.
gcc/gimple-predicate-analysis.cc
gcc/gimple-predicate-analysis.h