gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of gen_rtx_SET.

* gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
	gen_rtx_SET.

From-SVN: r44048
This commit is contained in:
J"orn Rennecke 2001-07-16 17:18:48 +00:00 committed by Joern Rennecke
parent 03a8de49b8
commit cccf0ae876
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com>
* gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
gen_rtx_SET.
2001-07-16 Steve Ellcey <sje@cup.hp.com>
* dominance.c (calc_dfs_tree_nonrec): Reverse order of tests

View File

@ -4927,8 +4927,7 @@ pre_insert_copy_insn (expr, insn)
if (!set)
abort ();
new_insn = emit_insn_after (gen_rtx_SET (VOIDmode, reg, SET_DEST (set)),
insn);
new_insn = emit_insn_after (gen_move_insn (reg, SET_DEST (set)), insn);
/* Keep block number table up to date. */
set_block_for_new_insns (new_insn, bb);