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

gcse.c (cprop_jump): Make use of REG_EQUAL notes on both setcc and jump, if they exist.



	* gcse.c (cprop_jump):  Make use of REG_EQUAL notes on both
	setcc and jump, if they exist.  If substituted instruction
	fails to validate, store current effort in a REG_EQUAL note.
	(cprop_insn): Don't attempt further substitutions if the
	current instruction has been deleted.
	(local_cprop_pass): Likewise.

	* jump.c (redirect_jump):  Also update REG_EQUAL note, if
	one is attached to the jump instruction.
	(invert_jump): Delete REG_EQUAL note on jump, if one exists.

Co-Authored-By: default avatarJoern Rennecke <joern.rennecke@superh.com>
Co-Authored-By: default avatarKazu Hirata <kazu@cs.umass.edu>

From-SVN: r67054
parent fc351800
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