Commit 7e970f22 authored by Matthias Braun's avatar Matthias Braun
Browse files

ia32: Do not force frame entities in bitcast load opt

We only need to force a specific frame entity size if we are actually
going to store one for the bitcast. We must not do that when we load from
an existing memory location.

This fixes backend/frame_entity.c
parent 82068a66
......@@ -4148,6 +4148,7 @@ static ir_node *gen_Bitcast(ir_node *const node)
am.ls_mode = dst_mode;
set_am_attributes(ld, &am);
if (get_ia32_frame_use(ld) != IA32_FRAME_USE_NONE)
force_int_stackent(ld, dst_mode);
SET_IA32_ORIG_NODE(ld, node);
fix_mem_proj(ld, &am);
Supports Markdown
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