* config/spu/spu.c (ea_load_store_inline): Use add_reg_note.

From-SVN: r161275
This commit is contained in:
Joern Rennecke 2010-06-23 12:31:08 +00:00 committed by Joern Rennecke
parent 82c0295ae3
commit bec02c18ae
2 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,8 @@
(spu_handle_vector_attribute, spu_pass_by_reference): Likewise.
(spu_rtx_costs, spu_function_ok_for_sibcall): Likewise.
* config/spu/spu.c (ea_load_store_inline): Use add_reg_note.
2010-06-23 Arnaud Charlet <charlet@adacore.com
PR ada/22220

View File

@ -4488,8 +4488,7 @@ ea_load_store_inline (rtx mem, bool is_store, rtx ea_addr, rtx data_addr)
hit_ref, pc_rtx)));
/* Say that this branch is very likely to happen. */
v = REG_BR_PROB_BASE - REG_BR_PROB_BASE / 100 - 1;
REG_NOTES (insn)
= gen_rtx_EXPR_LIST (REG_BR_PROB, GEN_INT (v), REG_NOTES (insn));
add_reg_note (insn, REG_BR_PROB, GEN_INT (v));
ea_load_store (mem, is_store, ea_addr, data_addr);
cont_label = gen_label_rtx ();