diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-22 12:02:26 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-22 12:02:26 +0000 |
commit | e2f730a9ff8c15c7928e69ddabedac587a5644ec (patch) | |
tree | eee5382fbf8bb42300717bebf986a46d87ae8a9f /gcc/reorg.c | |
parent | e1a797ade2cd2dffe3e9ff73826422700f010c84 (diff) | |
download | linaro-gcc-e2f730a9ff8c15c7928e69ddabedac587a5644ec.tar.gz linaro-gcc-e2f730a9ff8c15c7928e69ddabedac587a5644ec.tar.bz2 linaro-gcc-e2f730a9ff8c15c7928e69ddabedac587a5644ec.zip |
gcc/
* recog.h (constrain_operands): Add an alternative_mask parameter.
(constrain_operands_cached): Likewise.
(get_preferred_alternatives): Declare new form.
* recog.c (get_preferred_alternatives): New bb-taking instance.
(constrain_operands): Take the set of available alternatives as
a parameter.
(check_asm_operands, insn_invalid_p, extract_constrain_insn)
(extract_constrain_insn_cached): Update calls to constrain_operands.
* caller-save.c (reg_save_code): Likewise.
* ira.c (setup_prohibited_mode_move_regs): Likewise.
* postreload-gcse.c (eliminate_partially_redundant_load): Likewise.
* ree.c (combine_reaching_defs): Likewise.
* reload.c (can_reload_into): Likewise.
* reload1.c (reload, reload_as_needed, inc_for_reload): Likewise.
(gen_reload_chain_without_interm_reg_p, emit_input_reload_insns)
(emit_insn_if_valid_for_reload): Likewise.
* reorg.c (fill_slots_from_thread): Likewise.
* config/i386/i386.c (ix86_attr_length_address_default): Likewise.
* config/pa/pa.c (pa_can_combine_p): Likewise.
* config/rl78/rl78.c (insn_ok_now): Likewise.
* config/sh/sh.md (define_peephole2): Likewise.
* final.c (final_scan_insn): Update call to constrain_operands_cached.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216555 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r-- | gcc/reorg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c index 57f32bbf787..8d69433e104 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -2769,7 +2769,8 @@ fill_slots_from_thread (rtx_insn *insn, rtx condition, rtx thread_or_return, insn); if (recog_memoized (ninsn) < 0 - || (extract_insn (ninsn), ! constrain_operands (1))) + || (extract_insn (ninsn), + !constrain_operands (1, get_preferred_alternatives (ninsn)))) { delete_related_insns (ninsn); return 0; |