Commit f4caead0 by Richard Biener Committed by Richard Biener

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
parent 8936f047
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> 2019-01-30 Martin Sebor <msebor@redhat.com>
PR other/89106 PR other/89106
......
...@@ -1719,10 +1719,12 @@ lra_rtx_hash (rtx x) ...@@ -1719,10 +1719,12 @@ lra_rtx_hash (rtx x)
case SCRATCH: case SCRATCH:
case CONST_DOUBLE: case CONST_DOUBLE:
case CONST_INT:
case CONST_VECTOR: case CONST_VECTOR:
return val; return val;
case CONST_INT:
return val + UINTVAL (x);
default: default:
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment