diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2015-04-22 00:45:11 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2015-04-22 00:45:11 +0000 |
commit | 0923e946fb24b4426558e705d736668ff0c518f6 (patch) | |
tree | ccdae2da9f094fe268ab7ec319ee31e1d5df358f /gcc/reorg.c | |
parent | 618f40737410aa6b19cb60c9937adf4665dd587c (diff) | |
download | gcc-0923e946fb24b4426558e705d736668ff0c518f6.zip gcc-0923e946fb24b4426558e705d736668ff0c518f6.tar.gz gcc-0923e946fb24b4426558e705d736668ff0c518f6.tar.bz2 |
provide default for INSN_SETS_ARE_DELAYED
gcc/ChangeLog:
2015-04-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* defaults.h (INSN_SETS_ARE_DELAYED): New definition.
* reorg.c (redundant_insn): Remove ifdef INSN_SETS_ARE_DELAYED.
* resource.c (mark_set_resources): Likewise.
From-SVN: r222303
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r-- | gcc/reorg.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c index 45c7201..c7c8f9e 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -1571,10 +1571,8 @@ redundant_insn (rtx insn, rtx_insn *target, rtx delay_list) slots because it is difficult to track its resource needs correctly. */ -#ifdef INSN_SETS_ARE_DELAYED if (INSN_SETS_ARE_DELAYED (seq->insn (0))) return 0; -#endif #ifdef INSN_REFERENCES_ARE_DELAYED if (INSN_REFERENCES_ARE_DELAYED (seq->insn (0))) @@ -1673,10 +1671,8 @@ redundant_insn (rtx insn, rtx_insn *target, rtx delay_list) /* If this is an INSN or JUMP_INSN with delayed effects, it is hard to track the resource needs properly, so give up. */ -#ifdef INSN_SETS_ARE_DELAYED if (INSN_SETS_ARE_DELAYED (control)) return 0; -#endif #ifdef INSN_REFERENCES_ARE_DELAYED if (INSN_REFERENCES_ARE_DELAYED (control)) |