Commit 1469e18e authored by yb9976's avatar yb9976
Browse files

Do not skip Convs with multiple users.

This fixes backend/duplicate_proj.c.
parent cd68f004
......@@ -3960,7 +3960,7 @@ static ir_node *create_I2I_Conv(ir_mode *const src_mode, dbg_info *const dbgi, i
be_warningf(op, "unoptimized conv after constant");
op = be_skip_downconv(op, false);
op = be_skip_downconv(op, true);
if (be_upper_bits_clean(op, src_mode)) {
return be_transform_node(op);
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