Hi, I committed the patch implementing register pressure directed hoist in TRUNK and enabled the option "-fira-hoist-pressure" for all targets by reviewer's suggestion, although it has no obvious effect on Thumb2/x86/x86_64. Now I collected performance data with Os and found it causes performance regression in some cases on Thumb2, so this patch disables the option on Thumb2 and modify the corresponding test cases.
Tested on arm-none-eabi/M3, is it OK? Thanks. 2012-11-21 Bin Cheng <[email protected]> * config/arm/arm.c (arm_option_override): Disable option -fira-hoist-pressure on Thumb2. 2012-11-21 Bin Cheng <[email protected]> * gcc.dg/hoist-register-pressure-1.c: Skip on ARM Thumb2. * gcc.dg/hoist-register-pressure-2.c: Ditto. * gcc.dg/hoist-register-pressure-3.c: Ditto.
