* lra-constraints.c (process_alt_operands): Don't add spilling cost for
"offmemok".
From-SVN: r238010
+2016-07-05 Jiong Wang <jiong.wang@arm.com>
+
+ * lra-constraints.c (process_alt_operands): Don't add spilling cost for
+ "offmemok".
+
2016-07-05 Jan Hubicka <jh@suse.cz>
* tree-scalar-evoluiton.c (simple_iv): Use nowrap_type to check if
Code below increases the reject for both pseudo and non-pseudo
spill. */
- if (no_regs_p && !(REG_P (op) && hard_regno[nop] < 0))
+ if (no_regs_p
+ && !(MEM_P (op) && offmemok)
+ && !(REG_P (op) && hard_regno[nop] < 0))
{
if (lra_dump_file != NULL)
fprintf