Make sure checking code is conditional in VN
authorRichard Biener <rguenther@suse.de>
Fri, 1 Jul 2022 10:35:58 +0000 (12:35 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 1 Jul 2022 12:20:35 +0000 (14:20 +0200)
commit08ed796ed08996545c574b846f3ca04f2cbe70dc
tree4968f5d9395acb0469b6d9b7e28eb988fe94e7ff
parentf7a148304a71f3d3ad6845b7966fdc3af88c9e45
Make sure checking code is conditional in VN

VN has checking code with gcc_unreachable (), the following makes
it cheaper by instead guarding the side-effect with flag_checking.

2022-07-01  Richard Biener  <rguenther@suse.de>

* tree-ssa-sccvn.cc (vn_nary_op_insert_into): Make
checking dominance check conditional on flag_checking.
gcc/tree-ssa-sccvn.cc