Commit c52de77f authored by Christoph Mallon's avatar Christoph Mallon
Browse files

amd64: Mark floating point constants as candidates for rematerialization.

parent 9b40b4da
......@@ -41,6 +41,7 @@ libFirm 1.22.1 (2016-01-07)
* arm: Avoid redundant sign/zero extension right after a load
* amd64, arm: Avoid redundant sign/zero extension right before a store
* amd64: Avoid redundant sign/zero extension for truncation
* amd64: Mark floating point constants as candidates for rematerialization
* Bugfixes
libFirm 1.22.0 (2015-12-31)
......
......@@ -381,6 +381,7 @@ static ir_node *create_float_const(dbg_info *dbgi, ir_node *block,
pn_res = pn_amd64_movs_xmm_res;
}
set_irn_pinned(load, false);
arch_add_irn_flags(load, arch_irn_flag_rematerializable);
return be_new_Proj(load, pn_res);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment