re PR rtl-optimization/89115 (compile time and memory hog)

2019-01-31  Richard Biener  <rguenther@suse.de>

	PR rtl-optimization/89115
	* lra.c (lra_rtx_hash): Properly hash CONST_INT values.

From-SVN: r268414
This commit is contained in:
Richard Biener 2019-01-31 08:09:59 +00:00 committed by Richard Biener
parent 8936f047c0
commit f4caead02f
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2019-01-31 Richard Biener <rguenther@suse.de>
PR rtl-optimization/89115
* lra.c (lra_rtx_hash): Properly hash CONST_INT values.
2019-01-30 Martin Sebor <msebor@redhat.com>
PR other/89106

View file

@ -1719,10 +1719,12 @@ lra_rtx_hash (rtx x)
case SCRATCH:
case CONST_DOUBLE:
case CONST_INT:
case CONST_VECTOR:
return val;
case CONST_INT:
return val + UINTVAL (x);
default:
break;
}