re PR tree-optimization/91257 (Compile-time and memory-hog hog)
authorRichard Biener <rguenther@suse.de>
Mon, 29 Jul 2019 11:38:46 +0000 (11:38 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 29 Jul 2019 11:38:46 +0000 (11:38 +0000)
commita55d6091230ae8d0d6f6c20dcc55158f6705090e
treecec10398d4ae477966d760d992c57c79ff102569
parentfc5e7d2ac42fbc9169458095f4fff257e4a80d03
re PR tree-optimization/91257 (Compile-time and memory-hog hog)

2019-07-29  Richard Biener  <rguenther@suse.de>

PR tree-optimization/91257
* tree-vrp.c (operand_less_p): Avoid dispatching to fold for
most cases, instead call compare_values which handles the
symbolic ranges we handle specially.
(compare_values_warnv): Do not call operand_less_p but open-code
the effective fold calls.  Avoid converting so much.

From-SVN: r273876
gcc/ChangeLog
gcc/tree-vrp.c