Commit 0e716f5d authored by Christoph Mallon's avatar Christoph Mallon
Browse files

ia32: Remove pointless test.

An ia32 Load always loads into a GP register.
parent 11080c6b
......@@ -565,10 +565,6 @@ static void peephole_Load_IncSP_to_pop(ir_node *irn)
/* we can handle only GP loads */
if (!mode_needs_gp_reg(get_ia32_ls_mode(node)))
/* it has to use our predecessor sp value */
if (get_irn_n(node, n_ia32_base) != pred_sp) {
/* it would be ok if this load does not use a Pop result,
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