2011-04-20 Andrew Stubbs <ams@codesourcery.com>
gcc/
* config/arm/arm.c (arm_gen_constant): Remove redundant can_invert.
From-SVN: r172775
+2011-04-20 Andrew Stubbs <ams@codesourcery.com>
+
+ * config/arm/arm.c (arm_gen_constant): Remove redundant can_invert.
+
2011-04-20 Richard Guenther <rguenther@suse.de>
PR tree-optimization/47892
gen_rtx_SET (VOIDmode, target, source));
return 1;
}
-
- if (TARGET_THUMB2)
- can_invert = 1;
break;
case AND:
if (remainder & (1 << i))
num_bits_set++;
- if ((code == AND)
- || (code != IOR && can_invert && num_bits_set > 16))
+ if ((code == AND) || (can_invert && num_bits_set > 16))
remainder ^= 0xffffffff;
else if (code == PLUS && num_bits_set > 16)
remainder = (-remainder) & 0xffffffff;