Commit b2f02503 by Roger Sayle Committed by Roger Sayle

gcse.c (cprop_jump): Use single_set to get the pattern from the setcc argument.


	* gcse.c (cprop_jump): Use single_set to get the pattern
	from the setcc argument.

From-SVN: r54221
parent 4fcc2065
2002-06-03 Roger Sayle <roger@eyesopen.com>
* gcse.c (cprop_jump): Use single_set to get the pattern
from the setcc argument.
2002-06-03 Gabriel Dos Reis <gdr@codesourcery.com> 2002-06-03 Gabriel Dos Reis <gdr@codesourcery.com>
* diagnostic.h (diagnostic_count): Move from output_buffer to * diagnostic.h (diagnostic_count): Move from output_buffer to
......
...@@ -4097,9 +4097,12 @@ cprop_jump (bb, setcc, jump, from, src) ...@@ -4097,9 +4097,12 @@ cprop_jump (bb, setcc, jump, from, src)
/* First substitute in the INSN condition as the SET_SRC of the JUMP, /* First substitute in the INSN condition as the SET_SRC of the JUMP,
then substitute that given values in this expanded JUMP. */ then substitute that given values in this expanded JUMP. */
if (setcc != NULL) if (setcc != NULL)
new_set = simplify_replace_rtx (SET_SRC (set), {
SET_DEST (PATTERN (setcc)), rtx setcc_set = single_set (setcc);
SET_SRC (PATTERN (setcc))); new_set = simplify_replace_rtx (SET_SRC (set),
SET_DEST (setcc_set),
SET_SRC (setcc_set));
}
else else
new_set = set; new_set = set;
......
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