Skip to content
Snippets Groups Projects
Commit dd61aa98 authored by Roger Sayle's avatar Roger Sayle Committed by Roger Sayle
Browse files

simplify-rtx.c (associative_constant_p): New function to test whether an RTX...

simplify-rtx.c (associative_constant_p): New function to test whether an RTX expression is an immediate constant.


	* simplify-rtx.c (associative_constant_p): New function to test
	whether an RTX expression is an immediate constant.
	(simplify_associative_operation): New function to perform some
	reassociation optimizations of associative binary expressions.
	(simplify_binary_operation): Use simplify_associative_operation
	to simplify PLUS, MULT, AND, IOR, XOR, SMIN, SMAX, UMIN and UMAX.
	Floating point expressions are only reassociated when unsafe
	math optimizations are permitted.

From-SVN: r70521
parent fde46628
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment